From 60eae607ab75988fc441bb4d87ef790175009572 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 14 Sep 2026 12:44:09 +0200 Subject: fix(desktop): honest alwaysActive docs and working Escape in confirm --- desktop/modules/vm/VmPage.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop/modules/vm/VmPage.qml') diff --git a/desktop/modules/vm/VmPage.qml b/desktop/modules/vm/VmPage.qml index 5cb4dc7..9fca5f5 100644 --- a/desktop/modules/vm/VmPage.qml +++ b/desktop/modules/vm/VmPage.qml @@ -318,6 +318,10 @@ Column { focus: needsTyping Component.onCompleted: if (needsTyping) forceActiveFocus() + // Escape cancels the pending confirmation rather than + // navigating away from the page; this handler consumes the key. + Keys.onEscapePressed: { page.confirming = null; page.typed = ""; } + Rectangle { anchors.fill: parent anchors.margins: -6 -- cgit v1.2.3