Skip to content

Commit a85fc8f

Browse files
committed
Merge #410: create wallet: set focus on TextField so it is automatically selected
0beac80 qml: create wallet: set focus on TextField (Marnix) Pull request description: add `focus: true` to make it automatically selected so user doesn't have to first manually select it before it can type something addresses #403 (review) ACKs for top commit: johnny9: tACK 0beac80 Tree-SHA512: 61430831010dbd582176e9fd57ec7dcafbc5c705ee7ede7d7d33bc5d49e76340d4d233de385f2b59fc8c27d4422d3d82c30238678a5ee1429f7659800e6820b0
2 parents 8c19122 + 0beac80 commit a85fc8f

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)