diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-21 17:22:27 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-21 17:22:27 +0000 |
| commit | fa85318e91ea9bbe4638092767b3b8e0ea64f57c (patch) | |
| tree | eb0bcb69ab624721d59ec9905d392937810cb7b6 /pokemodr/MapWildListUI.cpp | |
| parent | 404b30c8601d3a3cb25bb6972427d93b1ebed640 (diff) | |
| download | sigen-fa85318e91ea9bbe4638092767b3b8e0ea64f57c.tar.gz sigen-fa85318e91ea9bbe4638092767b3b8e0ea64f57c.tar.xz sigen-fa85318e91ea9bbe4638092767b3b8e0ea64f57c.zip | |
[FIX] Classes in pokemod will no longer emit a changed signal if not actually changed
[FIX] Logic error with checking to see if certain GUI elements need resetting
[FIX] Using activated rather than currentIndexChanged signals for combo boxes
[FIX] Qt bugs now irrelevant
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@161 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/MapWildListUI.cpp')
| -rw-r--r-- | pokemodr/MapWildListUI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pokemodr/MapWildListUI.cpp b/pokemodr/MapWildListUI.cpp index c0c9efed..e754abf0 100644 --- a/pokemodr/MapWildListUI.cpp +++ b/pokemodr/MapWildListUI.cpp @@ -93,12 +93,12 @@ void MapWildListUI::discard() emit(changed(false)); } -void MapWildListUI::on_varControl_currentIndexChanged(const int control) +void MapWildListUI::on_varControl_activated(const int control) { static_cast<MapWildList*>(modified())->setControl(control); } -void MapWildListUI::on_varValue_currentIndexChanged(const int value) +void MapWildListUI::on_varValue_activated(const int value) { static_cast<MapWildList*>(modified())->setValue(varValue->itemData(value).toInt()); } @@ -118,7 +118,7 @@ void MapWildListUI::on_boxScope_toggled(const bool scopeUsed) static_cast<MapWildList*>(modified())->setScope(INT_MAX); } -void MapWildListUI::on_varScope_currentIndexChanged(const int scope) +void MapWildListUI::on_varScope_activated(const int scope) { static_cast<MapWildList*>(modified())->setScope(varScope->itemData(scope).toInt()); } |
