From c280e322e77f74424c2ce695dc45b8a9c48ec62c Mon Sep 17 00:00:00 2001 From: Eric Baker Date: Wed, 14 Aug 2024 11:01:40 -0500 Subject: [PATCH] merged #734: Improve Focus --- app/qml/InsertNameDialog.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/qml/InsertNameDialog.qml b/app/qml/InsertNameDialog.qml index fb4d7e97..7897e651 100644 --- a/app/qml/InsertNameDialog.qml +++ b/app/qml/InsertNameDialog.qml @@ -82,11 +82,15 @@ Window { nameSelected(name) close() } + nameField.forceActiveFocus() } } Button { text: qsTr("Cancel") - onClicked: close() + onClicked: function() { + nameField.forceActiveFocus() + close() + } } } }