From 426721374e515ed14fc3b8d2afabfbb34e223e60 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 23 Feb 2008 01:20:17 +0000 Subject: [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 --- pokemodr/TileUI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'pokemodr/TileUI.cpp') diff --git a/pokemodr/TileUI.cpp b/pokemodr/TileUI.cpp index ba217703..6a22bd32 100644 --- a/pokemodr/TileUI.cpp +++ b/pokemodr/TileUI.cpp @@ -43,6 +43,7 @@ TileUI::TileUI(Tile* t, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(tile, tile_mod); + connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); varAccessibility->addItems(DirectionStr.mid(0, 4)); varHMType->addItems(HMStr); for (int i = 0; i < tile->getPokemod()->getTileCount(); ++i) -- cgit