mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
*Removed Draw Order tab from the spell shop.
This commit is contained in:
@@ -48,6 +48,7 @@ import forge.gui.deckeditor.views.VAllDecks;
|
|||||||
import forge.gui.deckeditor.views.VCardCatalog;
|
import forge.gui.deckeditor.views.VCardCatalog;
|
||||||
import forge.gui.deckeditor.views.VCurrentDeck;
|
import forge.gui.deckeditor.views.VCurrentDeck;
|
||||||
import forge.gui.deckeditor.views.VDeckgen;
|
import forge.gui.deckeditor.views.VDeckgen;
|
||||||
|
import forge.gui.deckeditor.views.VProbabilities;
|
||||||
import forge.gui.framework.DragCell;
|
import forge.gui.framework.DragCell;
|
||||||
import forge.gui.home.quest.CSubmenuQuestDecks;
|
import forge.gui.home.quest.CSubmenuQuestDecks;
|
||||||
import forge.gui.toolbox.FLabel;
|
import forge.gui.toolbox.FLabel;
|
||||||
@@ -102,6 +103,7 @@ public final class CEditorQuestCardShop extends ACEditorBase<InventoryItem, Deck
|
|||||||
private boolean showingFullCatalog = false;
|
private boolean showingFullCatalog = false;
|
||||||
private DragCell allDecksParent = null;
|
private DragCell allDecksParent = null;
|
||||||
private DragCell deckGenParent = null;
|
private DragCell deckGenParent = null;
|
||||||
|
private DragCell probsParent = null;
|
||||||
|
|
||||||
// get pricelist:
|
// get pricelist:
|
||||||
private final ReadPriceList r = new ReadPriceList();
|
private final ReadPriceList r = new ReadPriceList();
|
||||||
@@ -204,6 +206,8 @@ public final class CEditorQuestCardShop extends ACEditorBase<InventoryItem, Deck
|
|||||||
CDRemLabel = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove().getText();
|
CDRemLabel = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove().getText();
|
||||||
VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove().setText("Sell Card");
|
VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove().setText("Sell Card");
|
||||||
|
|
||||||
|
VProbabilities.SINGLETON_INSTANCE.getTabLabel().setVisible(false);
|
||||||
|
|
||||||
prevRem4Label = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove4().getText();
|
prevRem4Label = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove4().getText();
|
||||||
prevRem4Tooltip = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove4().getToolTipText();
|
prevRem4Tooltip = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove4().getToolTipText();
|
||||||
prevRem4Cmd = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove4().getCommand();
|
prevRem4Cmd = VCurrentDeck.SINGLETON_INSTANCE.getBtnRemove4().getCommand();
|
||||||
@@ -500,6 +504,7 @@ public final class CEditorQuestCardShop extends ACEditorBase<InventoryItem, Deck
|
|||||||
|
|
||||||
deckGenParent = removeTab(VDeckgen.SINGLETON_INSTANCE);
|
deckGenParent = removeTab(VDeckgen.SINGLETON_INSTANCE);
|
||||||
allDecksParent = removeTab(VAllDecks.SINGLETON_INSTANCE);
|
allDecksParent = removeTab(VAllDecks.SINGLETON_INSTANCE);
|
||||||
|
probsParent = removeTab(VProbabilities.SINGLETON_INSTANCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
@@ -539,6 +544,9 @@ public final class CEditorQuestCardShop extends ACEditorBase<InventoryItem, Deck
|
|||||||
if (allDecksParent != null) {
|
if (allDecksParent != null) {
|
||||||
allDecksParent.addDoc(VAllDecks.SINGLETON_INSTANCE);
|
allDecksParent.addDoc(VAllDecks.SINGLETON_INSTANCE);
|
||||||
}
|
}
|
||||||
|
if (probsParent != null) {
|
||||||
|
probsParent.addDoc(VProbabilities.SINGLETON_INSTANCE);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user