summaryrefslogtreecommitdiffstats
path: root/pokemodr/MoveUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/MoveUI.cpp')
-rw-r--r--pokemodr/MoveUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pokemodr/MoveUI.cpp b/pokemodr/MoveUI.cpp
index b1a0c51e..c513cd7a 100644
--- a/pokemodr/MoveUI.cpp
+++ b/pokemodr/MoveUI.cpp
@@ -37,6 +37,7 @@ MoveUI::MoveUI(Move* m, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(move, move_mod);
+ connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
for (int i = 0; i < move->getPokemod()->getTypeCount(); ++i)
{
const Type* t = move->getPokemod()->getType(i);