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/StoreUI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'pokemodr/StoreUI.cpp') diff --git a/pokemodr/StoreUI.cpp b/pokemodr/StoreUI.cpp index c6166324..eae6c201 100644 --- a/pokemodr/StoreUI.cpp +++ b/pokemodr/StoreUI.cpp @@ -41,6 +41,7 @@ StoreUI::StoreUI(Store* s, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(store, store_mod); + connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); for (int i = 0; i < store->getPokemod()->getItemCount(); ++i) { const Item* it = store->getPokemod()->getItem(i); -- cgit