Commit 247ff0bd authored by Eugene Popov's avatar Eugene Popov Committed by Nate Graham

[applets/clipboard] Don't close when clicking history item if pop-up was...

[applets/clipboard] Don't close when clicking history item if pop-up was pinned open by another applet

The previous patch updates the pinned state only for the active applet. For instance, if you open the Networks applet and pin it, then switch to the Clipboard applet and click on the history item, then the Clipboard applet closes. This is because we need to use binding instead of assignment.


Reviewers: ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent bcfd7f28
......@@ -96,4 +96,11 @@ AbstractItem {
Binding {
property: "hideOnWindowDeactivate"
value: !
target: plasmoidContainer.applet
when: null !== plasmoidContainer.applet
......@@ -89,10 +89,6 @@ MouseArea {
target: plasmoid.configuration
onExtraItemsChanged: plasmoid.nativeInterface.allowedPlasmoids = plasmoid.configuration.extraItems
onPinChanged: {
if (root.activeApplet)
root.activeApplet.hideOnWindowDeactivate = !;
CurrentItemHighLight {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment