PasswordDialog: fix focus on open

This commit is contained in:
selsta 2020-05-03 15:51:46 +02:00
parent ce6cc47afe
commit f26f1469ca
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -63,7 +63,7 @@ Item {
capsLockTextLabel.visible = oshelper.isCapsLock(); capsLockTextLabel.visible = oshelper.isCapsLock();
passwordInput1.reset(); passwordInput1.reset();
passwordInput2.reset(); passwordInput2.reset();
passwordInput1.forceActiveFocus(); passwordInput1.input.forceActiveFocus();
root.walletName = walletName ? walletName : "" root.walletName = walletName ? walletName : ""
errorTextLabel.text = errorText ? errorText : ""; errorTextLabel.text = errorText ? errorText : "";
leftPanel.enabled = false leftPanel.enabled = false