Skip to content

Commit

Permalink
qml: create wallet: set focus on TextField
Browse files Browse the repository at this point in the history
make it automatically selected so user doesn't have to first manually select it
  • Loading branch information
MarnixCroes committed Aug 5, 2024
1 parent a73577b commit 0beac80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/qml/pages/wallet/CreateName.qml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Page {

CoreTextField {
id: walletNameInput
focus: true
Layout.fillWidth: true
Layout.leftMargin: 20
Layout.rightMargin: 20
Expand Down
1 change: 1 addition & 0 deletions src/qml/pages/wallet/CreatePassword.qml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Page {
Layout.topMargin: 5
Layout.leftMargin: 20
Layout.rightMargin: 20
focus: true
hideText: true
placeholderText: qsTr("Enter password...")
}
Expand Down

0 comments on commit 0beac80

Please sign in to comment.