summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-03-18 07:40:29 +0000
committerdeva <deva>2009-03-18 07:40:29 +0000
commit838fbd870b3ce51fb6a7d8994d3d08f8ab65559c (patch)
tree35ef0ebb6c1ce61f6d756634373ce07f9b4ddb01
parente1430e95969a68d7a62c5e0802fcfd606f0509d9 (diff)
Make macro noncollapsable on frameclick, when the macro is static
-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()));
}
}