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/MapUI.cpp | |
| parent | 404b30c8601d3a3cb25bb6972427d93b1ebed640 (diff) | |
[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/MapUI.cpp')
| -rw-r--r-- | pokemodr/MapUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/MapUI.cpp b/pokemodr/MapUI.cpp index 786c5e25..39d349ef 100644 --- a/pokemodr/MapUI.cpp +++ b/pokemodr/MapUI.cpp @@ -102,12 +102,12 @@ void MapUI::on_boxFlyWarp_toggled() static_cast<Map*>(modified())->setFlyWarp(-1); } -void MapUI::on_varFlyWarp_currentIndexChanged(const int flyWarp) +void MapUI::on_varFlyWarp_activated(const int flyWarp) { static_cast<Map*>(modified())->setFlyWarp(varFlyWarp->itemData(flyWarp).toInt()); } -void MapUI::on_varType_currentIndexChanged(const int type) +void MapUI::on_varType_activated(const int type) { static_cast<Map*>(modified())->setType(type); } |
