mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-26 23:57:25 +01:00
Merge pull request #1 from DelvalletQuentin/bugfixes
Fixed two bugs related to checkboxes
This commit is contained in:
@@ -166,7 +166,7 @@ public class ActorConditionEditor extends JSONElementEditor {
|
||||
} else if (source == positiveBox) {
|
||||
aCond.positive = (Integer) value;
|
||||
} else if (source == stackingBox) {
|
||||
aCond.positive = (Integer) value;
|
||||
aCond.stacking = (Integer) value;
|
||||
} else if (source == categoryBox) {
|
||||
aCond.category = (ActorCondition.ACCategory) value;
|
||||
} else if (source == roundVisualField) {
|
||||
|
||||
@@ -64,7 +64,7 @@ public class QuestEditor extends JSONElementEditor {
|
||||
|
||||
addTextField(pane, "Internal ID: ", quest.id, quest.writable, listener);
|
||||
addTextField(pane, "Quest Name: ", quest.name, quest.writable, listener);
|
||||
addIntegerBasedCheckBox(pane, "Visible in quest log", quest.visible_in_log, quest.writable, listener);
|
||||
visibleBox = addIntegerBasedCheckBox(pane, "Visible in quest log", quest.visible_in_log, quest.writable, listener);
|
||||
|
||||
JPanel stagesPane = new JPanel();
|
||||
stagesPane.setLayout(new JideBoxLayout(stagesPane, JideBoxLayout.PAGE_AXIS, 6));
|
||||
|
||||
Reference in New Issue
Block a user