diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml index a572b874..61a85c69 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -63,7 +63,8 @@ Item { capsLockTextLabel.visible = oshelper.isCapsLock(); passwordInput1.reset(); passwordInput2.reset(); - passwordInput1.input.forceActiveFocus(); + if(appWindow.active) + passwordInput1.input.forceActiveFocus(); root.walletName = walletName ? walletName : "" errorTextLabel.text = errorText ? errorText : ""; leftPanel.enabled = false