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/MapWildListUI.cpp | |
| parent | 265835165d9f11f963087122d9c5c58f90dcd21c (diff) | |
| download | sigen-d52f6c9f71c1ee94539fe94bd821df608d7ee602.tar.gz sigen-d52f6c9f71c1ee94539fe94bd821df608d7ee602.tar.xz sigen-d52f6c9f71c1ee94539fe94bd821df608d7ee602.zip | |
[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/MapWildListUI.cpp')
| -rw-r--r-- | pokemodr/MapWildListUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/MapWildListUI.cpp b/pokemodr/MapWildListUI.cpp index 988d1267..83ef2665 100644 --- a/pokemodr/MapWildListUI.cpp +++ b/pokemodr/MapWildListUI.cpp @@ -69,8 +69,8 @@ MapWildListUI::MapWildListUI(MapWildList* w, QWidget* parent) : QListWidgetItem* lwi = new QListWidgetItem(t->getName(), varTimes); lwi->setData(Qt::UserRole, t->getId()); } - emit(changed(false)); setGui(); + emit(changed(false)); } // KToolbar getToolbar(QWidget* parent) @@ -101,8 +101,8 @@ void MapWildListUI::on_buttonApply_clicked() void MapWildListUI::on_buttonDiscard_clicked() { *mapWildList_mod = *mapWildList; - emit(changed(false)); setGui(); + emit(changed(false)); } void MapWildListUI::on_varControl_currentIndexChanged(const int c) |
