summaryrefslogtreecommitdiff
path: root/client/macrowindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/macrowindow.cc')
-rw-r--r--client/macrowindow.cc4
1 files changed, 2 insertions, 2 deletions
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);
}