From 838fbd870b3ce51fb6a7d8994d3d08f8ab65559c Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 18 Mar 2009 07:40:29 +0000 Subject: Make macro noncollapsable on frameclick, when the macro is static --- client/macrodrawer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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())); } } -- cgit v1.2.3