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:
Sebastian Sauer 2026-10-24 23:38:13 +02:00 committed by Nate Graham
parent bc0c80db4b
commit 689b35bad8

View file

@ -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
}
}