summaryrefslogtreecommitdiffstats
path: root/pokemodr/MapWildListUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/MapWildListUI.cpp')
-rw-r--r--pokemodr/MapWildListUI.cpp6
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());
}