mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Re-disabled Alpha and Beta in the Custom quest format dialog.
Very minor checkstyle (removed extra whitespace).
This commit is contained in:
@@ -48,6 +48,7 @@ public class DialogChooseSets {
|
||||
List<FCheckBox> otherSets = new ArrayList<FCheckBox>();
|
||||
|
||||
for (CardEdition ce : editions) {
|
||||
if (choosableSet(ce)) {
|
||||
String code = ce.getCode();
|
||||
FCheckBox box = new FCheckBox(String.format("%s (%s)", ce.getName(), code));
|
||||
box.setName(code);
|
||||
@@ -59,6 +60,7 @@ public class DialogChooseSets {
|
||||
default: otherSets.add(box); break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
FPanel p = new FPanel(new MigLayout("insets 0, gap 0, center, wrap 3"));
|
||||
p.setOpaque(false);
|
||||
@@ -143,6 +145,10 @@ public class DialogChooseSets {
|
||||
return pnl;
|
||||
}
|
||||
|
||||
private boolean choosableSet(final CardEdition ce) {
|
||||
return !("LEA".equalsIgnoreCase(ce.getCode()) || "LEB".equalsIgnoreCase(ce.getCode()));
|
||||
}
|
||||
|
||||
private void handleOk() {
|
||||
for (FCheckBox box : choices) {
|
||||
if (box.isSelected()) {
|
||||
|
||||
Reference in New Issue
Block a user