aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/userbutton/UserItemWidget.h
diff options
context:
space:
mode:
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