1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-27 09:53:38 +01:00

wizard: fix focus

This commit is contained in:
Jaquee 2017-02-04 15:40:04 +01:00
parent 43d5bd3e2d
commit 8060307c62
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39
2 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,7 @@ Item {
passwordPage.titleText = qsTr("Give your wallet a password") + translationManager.emptyString
}
passwordUI.focus = true;
passwordUI.resetFocus()
}
function onPageClosed(settingsObject) {

View File

@ -56,6 +56,10 @@ FocusScope {
privacyLevel.fillLevel = Utils.mapScope(1, 100, 1, 13, strength)
}
function resetFocus() {
passwordItem.focus = true
}
WizardPasswordInput {
id: passwordItem
anchors.horizontalCenter: parent.horizontalCenter