summaryrefslogtreecommitdiffstats
path: root/pokemodr/TimeUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/TimeUI.cpp')
-rw-r--r--pokemodr/TimeUI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp
index d0ec6b66..2836079b 100644
--- a/pokemodr/TimeUI.cpp
+++ b/pokemodr/TimeUI.cpp
@@ -36,8 +36,8 @@ TimeUI::TimeUI(Time* t, QWidget* parent) :
QMetaObject::connectSlotsByName(this);
setObjects(time, time_mod);
connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
- emit(changed(false));
setGui();
+ emit(changed(false));
}
// KToolbar TimeUI::getToolbar(QWidget* parent)
@@ -59,8 +59,8 @@ void TimeUI::on_buttonApply_clicked()
void TimeUI::on_buttonDiscard_clicked()
{
*time_mod = *time;
- emit(changed(false));
setGui();
+ emit(changed(false));
}
void TimeUI::on_varName_textChanged(const QString& n)