summaryrefslogtreecommitdiffstats
path: root/pokemodr/MapUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/MapUI.cpp')
-rw-r--r--pokemodr/MapUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pokemodr/MapUI.cpp b/pokemodr/MapUI.cpp
index 1be2db2d..e1c50556 100644
--- a/pokemodr/MapUI.cpp
+++ b/pokemodr/MapUI.cpp
@@ -42,6 +42,7 @@ MapUI::MapUI(Map* m, QWidget* parent) :
setupUi(this);
QMetaObject::connectSlotsByName(this);
setObjects(map, map_mod);
+ connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool)));
for (int i = 0; i < map->getWarpCount(); ++i)
varFlyWarp->addItem(map->getWarp(i)->getName());
varType->addItems(Map::TypeStr);