PasswordDialog: focus on gui start

This commit is contained in:
selsta 2020-07-14 16:52:40 +02:00
parent b7b1221221
commit 7c50e1ff4b
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -62,7 +62,7 @@ Item {
capsLockTextLabel.visible = oshelper.isCapsLock();
passwordInput1.reset();
passwordInput2.reset();
if(appWindow.active)
if(!appWindow.currentWallet || appWindow.active)
passwordInput1.input.forceActiveFocus();
root.walletName = walletName ? walletName : ""
errorTextLabel.text = errorText ? errorText : "";