Merge pull request #2988

2522ff1 Prevent textbox from turning active when window is not active. Fixes #2924 (xmrdsc)
This commit is contained in:
luigi1111 2020-07-08 13:53:41 -05:00
commit 11fd19e0f8
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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