mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-24 12:39:25 +00:00
wizard: fix focus
This commit is contained in:
parent
43d5bd3e2d
commit
8060307c62
2 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,7 @@ Item {
|
||||||
passwordPage.titleText = qsTr("Give your wallet a password") + translationManager.emptyString
|
passwordPage.titleText = qsTr("Give your wallet a password") + translationManager.emptyString
|
||||||
}
|
}
|
||||||
|
|
||||||
passwordUI.focus = true;
|
passwordUI.resetFocus()
|
||||||
}
|
}
|
||||||
|
|
||||||
function onPageClosed(settingsObject) {
|
function onPageClosed(settingsObject) {
|
||||||
|
|
|
@ -56,6 +56,10 @@ FocusScope {
|
||||||
privacyLevel.fillLevel = Utils.mapScope(1, 100, 1, 13, strength)
|
privacyLevel.fillLevel = Utils.mapScope(1, 100, 1, 13, strength)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function resetFocus() {
|
||||||
|
passwordItem.focus = true
|
||||||
|
}
|
||||||
|
|
||||||
WizardPasswordInput {
|
WizardPasswordInput {
|
||||||
id: passwordItem
|
id: passwordItem
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
Loading…
Reference in a new issue