Merge pull request #3009

7c50e1f PasswordDialog: focus on gui start (selsta)
This commit is contained in:
luigi1111 2020-07-14 15:50:14 -05:00
commit 2cea0fc669
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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 : "";