Commit 95efcd38 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Task Manager] Also respect visible property of configure action

When Plasma is locked down, configure actions are hidden.
In Task Manager this was not taken into account and the action was only disabled but still listed.

Differential Revision: https://phabricator.kde.org/D6551
parent 7b54e7e2
......@@ -640,6 +640,7 @@ PlasmaComponents.ContextMenu {
property QtObject configureAction: null
enabled: configureAction && configureAction.enabled
visible: configureAction && configureAction.visible
text: configureAction ? configureAction.text : ""
icon: configureAction ? configureAction.icon : ""
......
Markdown is supported
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