diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-07-08 13:53:41 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-07-08 13:53:41 -0500 |
| commit | 11fd19e0f81700ac0f4b9f5cc707a5f7a0997475 (patch) | |
| tree | 70550973db6fbc1167a5870c907ee17cd7057925 /components/PasswordDialog.qml | |
| parent | 1572b4cf799701ab9e88c60a676babb0c84110a4 (diff) | |
| parent | 2522ff13fe45d62ae077546baa4de26eb8e1df1a (diff) | |
| download | monzero-gui-11fd19e0f81700ac0f4b9f5cc707a5f7a0997475.tar.gz monzero-gui-11fd19e0f81700ac0f4b9f5cc707a5f7a0997475.tar.xz monzero-gui-11fd19e0f81700ac0f4b9f5cc707a5f7a0997475.zip | |
Merge pull request #2988
2522ff1 Prevent textbox from turning active when window is not active. Fixes #2924 (xmrdsc)
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 9ee362f5..27d0cbc8 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -62,7 +62,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 |
