diff options
| author | dsc <dsc@xmr.pm> | 2020-07-07 15:33:54 +0200 |
|---|---|---|
| committer | dsc <dsc@xmr.pm> | 2020-07-07 15:33:54 +0200 |
| commit | 2522ff13fe45d62ae077546baa4de26eb8e1df1a (patch) | |
| tree | 2b0dbea76b83c59d644559923717ce6b9b158fed /components/PasswordDialog.qml | |
| parent | 596b71b29378421d67d1c4660b3b872eec320805 (diff) | |
| download | monzero-gui-2522ff13fe45d62ae077546baa4de26eb8e1df1a.tar.gz monzero-gui-2522ff13fe45d62ae077546baa4de26eb8e1df1a.tar.xz monzero-gui-2522ff13fe45d62ae077546baa4de26eb8e1df1a.zip | |
Prevent textbox from turning active when window is not active. Fixes #2924
Diffstat (limited to 'components/PasswordDialog.qml')
| -rw-r--r-- | components/PasswordDialog.qml | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
