Skip to content

Commit

Permalink
Merge bitcoin-core#410: create wallet: set focus on TextField so it i…
Browse files Browse the repository at this point in the history
…s 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 bitcoin-core#403 (review)

ACKs for top commit:
  johnny9:
    tACK 0beac80

Tree-SHA512: 61430831010dbd582176e9fd57ec7dcafbc5c705ee7ede7d7d33bc5d49e76340d4d233de385f2b59fc8c27d4422d3d82c30238678a5ee1429f7659800e6820b0
  • Loading branch information
hebasto committed Aug 12, 2024
2 parents 8c19122 + 0beac80 commit a85fc8f
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 a85fc8f

Please sign in to comment.