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