Merge pull request #451

8060307 wizard: fix focus (Jaquee)
This commit is contained in:
Riccardo Spagni 2017-02-04 17:47:45 +02:00
commit 6965b0af19
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
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