diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 01:20:17 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 01:20:17 +0000 |
| commit | 426721374e515ed14fc3b8d2afabfbb34e223e60 (patch) | |
| tree | 3fd65de786d0122c814da0f1eff01976a7444266 /pokemodr/NatureUI.cpp | |
| parent | 9cd7f4656b01cfb243433e1063c0339b2b96bbd4 (diff) | |
| download | sigen-426721374e515ed14fc3b8d2afabfbb34e223e60.tar.gz sigen-426721374e515ed14fc3b8d2afabfbb34e223e60.tar.xz sigen-426721374e515ed14fc3b8d2afabfbb34e223e60.zip | |
[FIX] UI forms now only allow apply/discard when it can be applied
[FIX] Skins and such use buttons in all UI forms now
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@71 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/NatureUI.cpp')
| -rw-r--r-- | pokemodr/NatureUI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pokemodr/NatureUI.cpp b/pokemodr/NatureUI.cpp index b09823a3..bd008f34 100644 --- a/pokemodr/NatureUI.cpp +++ b/pokemodr/NatureUI.cpp @@ -39,6 +39,7 @@ NatureUI::NatureUI(Nature* n, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(nature, nature_mod); + connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); const bool isSplit = nature->getPokemod()->getRules()->getSpecialSplit(); varStat->addItems((isSplit ? StatRBYStr : StatGSCStr).mid(0, isSplit ? ST_End_RBY : ST_End_GSC)); setGui(); |
