diff options
Diffstat (limited to 'pokemodr/MapWarpUI.cpp')
| -rw-r--r-- | pokemodr/MapWarpUI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pokemodr/MapWarpUI.cpp b/pokemodr/MapWarpUI.cpp index ae915ca1..2d41a86b 100644 --- a/pokemodr/MapWarpUI.cpp +++ b/pokemodr/MapWarpUI.cpp @@ -40,7 +40,7 @@ MapWarpUI::MapWarpUI(MapWarp* w, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(mapWarp, mapWarp_mod); - connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool))); + connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool))); varActivation->addItems(Pokemod::DirectionStr.mid(0, Pokemod::D_End)); varType->addItems(MapWarp::TypeStr); for (int i = 0; i < mapWarp->getPokemod()->getMapCount(); ++i) @@ -55,6 +55,7 @@ MapWarpUI::MapWarpUI(MapWarp* w, QWidget* parent) : varDialog->addItem(d->getDialog().mid(0, 25)); varDialog->setItemData(i, d->getId()); } + emit(changed(false)); setGui(); } |
