From 7c50e1ff4bd79b2b8ebf8130c2a93f58c865b124 Mon Sep 17 00:00:00 2001 From: selsta Date: Tue, 14 Jul 2020 16:52:40 +0200 Subject: [PATCH] PasswordDialog: focus on gui start --- components/PasswordDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : "";