Browse Source

qml: fix initial focus wallet name in new wallet wizard

patch-4
Sander van Grieken 3 years ago
parent
commit
d0a9420c87
  1. 2
      electrum/gui/qml/components/wizard/WCWalletName.qml
  2. 1
      electrum/gui/qml/components/wizard/Wizard.qml

2
electrum/gui/qml/components/wizard/WCWalletName.qml

@ -22,6 +22,6 @@ WizardComponent {
} }
Component.onCompleted: { Component.onCompleted: {
wallet_name.selectAll() wallet_name.forceActiveFocus()
} }
} }

1
electrum/gui/qml/components/wizard/Wizard.qml

@ -5,6 +5,7 @@ import QtQuick.Controls 2.1
Dialog { Dialog {
id: wizard id: wizard
modal: true modal: true
focus: true
width: parent.width width: parent.width
height: parent.height height: parent.height

Loading…
Cancel
Save