summaryrefslogtreecommitdiffstats
path: root/pokemodr/NatureUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/NatureUI.cpp')
-rw-r--r--pokemodr/NatureUI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pokemodr/NatureUI.cpp b/pokemodr/NatureUI.cpp
index d1dc4f78..a84afa97 100644
--- a/pokemodr/NatureUI.cpp
+++ b/pokemodr/NatureUI.cpp
@@ -38,9 +38,10 @@ NatureUI::NatureUI(Nature* n, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(nature, nature_mod);
- connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool)));
+ connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool)));
const bool isSplit = nature->getPokemod()->getRules()->getSpecialSplit();
varStat->addItems((isSplit ? Pokemod::StatRBYStr : Pokemod::StatGSCStr).mid(0, isSplit ? Pokemod::ST_End_RBY : Pokemod::ST_End_GSC));
+ emit(changed(false));
setGui();
}