[plasma/kscreen/Plasma/6.7] osd/qml: osd: trigger Configure button on Enter, too
Nate Graham <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 0c0f688f5aae07080901c6631b69343c02b61a7c by Nate Graham. Committed on 24/07/2026 at 17:41. Pushed by ngraham into branch 'Plasma/6.7'. osd: trigger Configure button on Enter, too The big buttons already trigger on both Space and Enter, but the Configure button does not. This is because it's outside of the repeater that creates all the other buttons, so it needs special handling. BUG: 515214 FIXED-IN: 6.6.7 (cherry picked from commit 3b0b9cdf119534c98cfc51dabbbc606e923d1428) Co-authored-by: Nate Graham <[email protected]> M +5 -1 osd/qml/OsdSelector.qml https://invent.kde.org/plasma/kscreen/-/commit/0c0f688f5aae07080901c6631b69343c02b61a7c diff --git a/osd/qml/OsdSelector.qml b/osd/qml/OsdSelector.qml index 1aef4808..92c4377f 100644 --- a/osd/qml/OsdSelector.qml +++ b/osd/qml/OsdSelector.qml @@ -140,7 +140,11 @@ Control { switch (event.key) { case Qt.Key_Return: case Qt.Key_Enter: - root.clicked(actionRepeater.itemAt(actionRepeater.currentIndex).actionId) // qmllint disable missing-property + if (actionRepeater.currentIndex === actionRepeater.count) { + configureButton.animateClick(); + } else { + root.clicked(actionRepeater.itemAt(actionRepeater.currentIndex).actionId) // qmllint disable missing-property + } break case Qt.Key_Right: case Qt.Key_Left: