summaryrefslogtreecommitdiff
path: root/client/macrodrawer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/macrodrawer.cc')
-rw-r--r--client/macrodrawer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/macrodrawer.cc b/client/macrodrawer.cc
index 97868f8..72395bb 100644
--- a/client/macrodrawer.cc
+++ b/client/macrodrawer.cc
@@ -30,7 +30,6 @@
MacroDrawer::MacroDrawer(MacroWindow *p, QString title)
{
- installEventFilter(this);
mw = p;
if(!mw->isstatic) setTitle(" " + title);
@@ -53,6 +52,7 @@ MacroDrawer::MacroDrawer(MacroWindow *p, QString title)
b->setFont(f);
}
+ installEventFilter(this);
connect(b, SIGNAL(clicked()), mw, SLOT(toggleMacro()));
}
}