Commit 437e83ee authored by ivan tkachenko's avatar ivan tkachenko Committed by Nate Graham
Browse files

[applets/appmenu] Remove binding to checked property from MenuDelegate

It makes sense for ToolBar button in CompactRepresentation, because
background depends on it, but it is useless for custom AbstractButton
which has no special code handling this value.
parent 4af06370
Pipeline #216782 passed with stage
in 10 minutes and 19 seconds
......@@ -130,10 +130,7 @@ Item {
visible: text !== "" && model.activeActions.visible
menuIsOpen: Plasmoid.nativeInterface.currentIndex !== -1
onActivated: {
Plasmoid.nativeInterface.trigger(this, index);
checked = Qt.binding(() => Plasmoid.nativeInterface.currentIndex === index);
onActivated: Plasmoid.nativeInterface.trigger(this, index)
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