aboutsummaryrefslogtreecommitdiff
path: root/components/PasswordDialog.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/PasswordDialog.qml')
-rw-r--r--components/PasswordDialog.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index 27d0cbc8..10a10954 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -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 : "";