Skip to content

Commit 0beac80

Browse files
committed
qml: create wallet: set focus on TextField
make it automatically selected so user doesn't have to first manually select it
1 parent a73577b commit 0beac80

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/qml/pages/wallet/CreateName.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Page {
4040

4141
CoreTextField {
4242
id: walletNameInput
43+
focus: true
4344
Layout.fillWidth: true
4445
Layout.leftMargin: 20
4546
Layout.rightMargin: 20

src/qml/pages/wallet/CreatePassword.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Page {
6262
Layout.topMargin: 5
6363
Layout.leftMargin: 20
6464
Layout.rightMargin: 20
65+
focus: true
6566
hideText: true
6667
placeholderText: qsTr("Enter password...")
6768
}

0 commit comments

Comments
 (0)