summaryrefslogtreecommitdiffstats
path: root/pokemodr/RulesUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/RulesUI.cpp')
-rw-r--r--pokemodr/RulesUI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pokemodr/RulesUI.cpp b/pokemodr/RulesUI.cpp
index 621cdd1f..28250028 100644
--- a/pokemodr/RulesUI.cpp
+++ b/pokemodr/RulesUI.cpp
@@ -35,7 +35,8 @@ RulesUI::RulesUI(Rules* r, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(rules, rules_mod);
- connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
+ emit(changed(false));
setGui();
}