mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Bugfix: double listing of precon decks in new quest UI.
This commit is contained in:
@@ -119,6 +119,9 @@ public enum VSubmenuQuestData implements IVSubmenu {
|
|||||||
|
|
||||||
final Map<String, String> preconDescriptions = new HashMap<String, String>();
|
final Map<String, String> preconDescriptions = new HashMap<String, String>();
|
||||||
IStorageView<PreconDeck> preconDecks = QuestController.getPrecons();
|
IStorageView<PreconDeck> preconDecks = QuestController.getPrecons();
|
||||||
|
|
||||||
|
cbxPrecon.removeAllItems();
|
||||||
|
|
||||||
for (PreconDeck preconDeck : preconDecks) {
|
for (PreconDeck preconDeck : preconDecks) {
|
||||||
if (preconDeck.getRecommendedDeals().getMinWins() > 0) {
|
if (preconDeck.getRecommendedDeals().getMinWins() > 0) {
|
||||||
continue;
|
continue;
|
||||||
@@ -264,10 +267,16 @@ public enum VSubmenuQuestData implements IVSubmenu {
|
|||||||
return radExpert;
|
return radExpert;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {@link javax.swing.JCheckBox}
|
||||||
|
*/
|
||||||
public JCheckBox getBoxFantasy() {
|
public JCheckBox getBoxFantasy() {
|
||||||
return boxFantasy;
|
return boxFantasy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {@link javax.swing.JRadioButton}
|
||||||
|
*/
|
||||||
public JRadioButton getRadCompleteStart() {
|
public JRadioButton getRadCompleteStart() {
|
||||||
return radCompleteStart;
|
return radCompleteStart;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user