Commit 7702694d authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[System Tray] Compress updating visible action

An applet might call `setAction` multiple times in a row, resulting in a needless
update every time. Compress the calls to avoid that.
parent 56064d80
......@@ -115,7 +115,9 @@ Item {
Connections {
target: actionsButton.applet
function onContextualActionsChanged() {updateVisibleActions();}
function onContextualActionsChanged() {
} "application-menu"
checkable: visibleActions > 1 || (singleAction && singleAction.checkable)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment