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/TimeUI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'pokemodr/TimeUI.cpp') diff --git a/pokemodr/TimeUI.cpp b/pokemodr/TimeUI.cpp index 67347f04..692a6c03 100644 --- a/pokemodr/TimeUI.cpp +++ b/pokemodr/TimeUI.cpp @@ -35,6 +35,7 @@ TimeUI::TimeUI(Time* t, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(time, time_mod); + connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); setGui(); } -- cgit