From 0beac80087f6143e9ef846026f2eb8aa22c1852c Mon Sep 17 00:00:00 2001 From: Marnix <93143998+MarnixCroes@users.noreply.github.com> Date: Mon, 5 Aug 2024 14:32:21 +0200 Subject: [PATCH] qml: create wallet: set focus on TextField make it automatically selected so user doesn't have to first manually select it --- src/qml/pages/wallet/CreateName.qml | 1 + src/qml/pages/wallet/CreatePassword.qml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/qml/pages/wallet/CreateName.qml b/src/qml/pages/wallet/CreateName.qml index d261c9d5c5..1d27b6db20 100644 --- a/src/qml/pages/wallet/CreateName.qml +++ b/src/qml/pages/wallet/CreateName.qml @@ -40,6 +40,7 @@ Page { CoreTextField { id: walletNameInput + focus: true Layout.fillWidth: true Layout.leftMargin: 20 Layout.rightMargin: 20 diff --git a/src/qml/pages/wallet/CreatePassword.qml b/src/qml/pages/wallet/CreatePassword.qml index ed3fbde8ad..87bdccafa3 100644 --- a/src/qml/pages/wallet/CreatePassword.qml +++ b/src/qml/pages/wallet/CreatePassword.qml @@ -62,6 +62,7 @@ Page { Layout.topMargin: 5 Layout.leftMargin: 20 Layout.rightMargin: 20 + focus: true hideText: true placeholderText: qsTr("Enter password...") }