aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2020-07-14 16:52:40 +0200
committerselsta <selsta@sent.at>2020-07-14 16:52:40 +0200
commit7c50e1ff4bd79b2b8ebf8130c2a93f58c865b124 (patch)
tree413d44a0f51c4fe9aa4f0b7ccc35df62d91b0a2d /components
parentb7b12212217ebc5d6fe9d1f49b7c3abed42449da (diff)
downloadmonzero-gui-7c50e1ff4bd79b2b8ebf8130c2a93f58c865b124.tar.gz
monzero-gui-7c50e1ff4bd79b2b8ebf8130c2a93f58c865b124.tar.xz
monzero-gui-7c50e1ff4bd79b2b8ebf8130c2a93f58c865b124.zip
PasswordDialog: focus on gui start
Diffstat (limited to 'components')
-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 : "";