diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-25 21:14:18 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-25 21:14:18 +0000 |
| commit | a5d7ffcbdfaf597081968f1b7764007e668d9b0c (patch) | |
| tree | fe64ea637ac50315b1f5c6f4b2a55c10d07b60c6 /pokemodr/MapWarpUI.cpp | |
| parent | 7737b5109b85f1ae0ad423577a7d940344a7155e (diff) | |
| download | sigen-a5d7ffcbdfaf597081968f1b7764007e668d9b0c.tar.gz sigen-a5d7ffcbdfaf597081968f1b7764007e668d9b0c.tar.xz sigen-a5d7ffcbdfaf597081968f1b7764007e668d9b0c.zip | |
[FIX] Sizers fixed in KTabWidgets
[FIX] Apply/Discard buttons fixed
[FIX] Window title now fixed
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@85 6ecfd1a5-f3ed-3746-8530-beee90d26b22
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(); } |
