summaryrefslogtreecommitdiffstats
path: root/pokemodr/MapWarpUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-15 03:12:36 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-15 03:12:36 +0000
commit3e72425d8566687631cb7b7fc1b299efd8a4877e (patch)
tree6bbd08723dd89d021ccebd07f4e96fbde1f44646 /pokemodr/MapWarpUI.cpp
parente445583ac47ef5416565c91142eec38a09f731cc (diff)
downloadsigen-3e72425d8566687631cb7b7fc1b299efd8a4877e.tar.gz
sigen-3e72425d8566687631cb7b7fc1b299efd8a4877e.tar.xz
sigen-3e72425d8566687631cb7b7fc1b299efd8a4877e.zip
[FIX] Added the MapTrainer code (forgot to commit)
[FIX] Signal and slots in the main window class git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@131 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/MapWarpUI.cpp')
-rw-r--r--pokemodr/MapWarpUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemodr/MapWarpUI.cpp b/pokemodr/MapWarpUI.cpp
index b95f1a4f..a0f498c7 100644
--- a/pokemodr/MapWarpUI.cpp
+++ b/pokemodr/MapWarpUI.cpp
@@ -192,5 +192,5 @@ void MapWarpUI::on_varState_toggled(const bool status)
void MapWarpUI::on_varDialog_currentIndexChanged(const int dialog)
{
- static_cast<MapWarp*>(modified())->setDialog(dialog);
+ static_cast<MapWarp*>(modified())->setDialog(varDialog->itemData(dialog).toInt());
}