diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 01:20:17 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 01:20:17 +0000 |
| commit | 426721374e515ed14fc3b8d2afabfbb34e223e60 (patch) | |
| tree | 3fd65de786d0122c814da0f1eff01976a7444266 /pokemodr/ItemUI.cpp | |
| parent | 9cd7f4656b01cfb243433e1063c0339b2b96bbd4 (diff) | |
| download | sigen-426721374e515ed14fc3b8d2afabfbb34e223e60.tar.gz sigen-426721374e515ed14fc3b8d2afabfbb34e223e60.tar.xz sigen-426721374e515ed14fc3b8d2afabfbb34e223e60.zip | |
[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
Diffstat (limited to 'pokemodr/ItemUI.cpp')
| -rw-r--r-- | pokemodr/ItemUI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pokemodr/ItemUI.cpp b/pokemodr/ItemUI.cpp index f54fb5c9..fdd7c008 100644 --- a/pokemodr/ItemUI.cpp +++ b/pokemodr/ItemUI.cpp @@ -37,6 +37,7 @@ ItemUI::ItemUI(Item* i, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(item, item_mod); + connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); for (int i = 0; i < item->getPokemod()->getItemTypeCount(); ++i) { const ItemType* it = item->getPokemod()->getItemType(i); |
