aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/appmenu
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/appmenu')
-rw-r--r--lumina-desktop/panel-plugins/appmenu/LAppMenuPlugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/appmenu/LAppMenuPlugin.cpp b/lumina-desktop/panel-plugins/appmenu/LAppMenuPlugin.cpp
index c38c4d3f..c64f934b 100644
--- a/lumina-desktop/panel-plugins/appmenu/LAppMenuPlugin.cpp
+++ b/lumina-desktop/panel-plugins/appmenu/LAppMenuPlugin.cpp
@@ -14,6 +14,7 @@ LAppMenuPlugin::LAppMenuPlugin(QWidget *parent, QString id, bool horizontal) : L
button->setAutoRaise(true);
button->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
button->setMenu( LSession::handle()->applicationMenu() );
+ connect(button->menu(), SIGNAL(aboutToHide()), this, SIGNAL(MenuClosed()));
button->setPopupMode(QToolButton::InstantPopup);
this->layout()->setContentsMargins(0,0,0,0);
this->layout()->addWidget(button);
bgstack15