Prevent textbox from turning active when window is not active. Fixes #2924

This commit is contained in:
dsc 2020-07-07 15:33:54 +02:00
parent 596b71b293
commit 2522ff13fe

View File

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