From 82c32c05eb4741e98736099c456b3ffc93c755af Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 3 Jul 2009 11:59:24 +0000 Subject: Some tweaking in the new dependency system. Mostly GUI stuff. --- client/macrowindow.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/macrowindow.cc') diff --git a/client/macrowindow.cc b/client/macrowindow.cc index db6ad53..a96964b 100644 --- a/client/macrowindow.cc +++ b/client/macrowindow.cc @@ -400,7 +400,7 @@ void MacroWindow::setActive(bool active) if(this->active == active) return; this->active = active; - if(active == false) setEnabled(false); - else setEnabled(true); + setEnabled(active); + emit activationChanged(active); } -- cgit v1.2.3