diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-26 04:18:15 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-26 04:18:15 +0000 |
| commit | d52f6c9f71c1ee94539fe94bd821df608d7ee602 (patch) | |
| tree | 93bd622c4d687ca6b653f27282536eca24385005 /pokemodr/TimeUI.cpp | |
| parent | 265835165d9f11f963087122d9c5c58f90dcd21c (diff) | |
[FIX] Apply/Discard buttons now set correctly when loaded or changes are discarded
[FIX] "Filler" tree items can no longer be selected
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@87 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/TimeUI.cpp')
| -rw-r--r-- | pokemodr/TimeUI.cpp | 4 |
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) |
