mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
dwellclicker: fix after click keep open when pinned
When the "Keep Open" button pins the Dwell Clicker window then choosing the next type of click should not close the applets window. This enables to pin the window and use it as floating dwellclicker window to switch between the clicks saving one additional click otherwise needed.
This commit is contained in:
parent
bc0c80db4b
commit
689b35bad8
1 changed files with 4 additions and 1 deletions
|
|
@ -117,7 +117,10 @@ PlasmoidItem {
|
|||
// equals NoButton. Otherwise select the clicked item and use its actionId.
|
||||
const targetId = (listView.currentIndex === index) ? 0 : modelData.actionId
|
||||
|
||||
root.expanded = false
|
||||
if (root.hideOnWindowDeactivate) {
|
||||
root.expanded = false
|
||||
}
|
||||
|
||||
dbusProperties.properties.button = targetId
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue