aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-07-24 12:44:06 -0400
committerKen Moore <moorekou@gmail.com>2015-07-24 12:44:06 -0400
commitdef21620add40cbfb992ed937841122bdf88587c (patch)
treea0f232ec30172ab981ebadf7d9c4e04df805064e /lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
parentFix up the active re-loading of icons in the desktop interface when the icon ... (diff)
downloadlumina-def21620add40cbfb992ed937841122bdf88587c.tar.gz
lumina-def21620add40cbfb992ed937841122bdf88587c.tar.bz2
lumina-def21620add40cbfb992ed937841122bdf88587c.zip
Finish cleaning up the submenu open/close checks for the userbutton. Now the "Action" submenu can be closed without launching the base application.
Diffstat (limited to 'lumina-desktop/panel-plugins/userbutton/UserItemWidget.h')
-rw-r--r--lumina-desktop/panel-plugins/userbutton/UserItemWidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/panel-plugins/userbutton/UserItemWidget.h b/lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
index 6d73401d..3a3e1616 100644
--- a/lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
+++ b/lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
@@ -48,8 +48,8 @@ private slots:
void actionClicked(QAction*);
//Functions to fix the submenu open/close issues
void actionMenuOpen(){
- menuopen = true;
- if(menureset->isActive()){ menureset->stop(); }
+ if(menureset->isActive()){ menureset->stop(); }
+ menuopen = true;
}
void resetmenuflag(){ menuopen = false; } //tied to the "menureset" timer
void actionMenuClosed(){ menureset->start(); }
bgstack15