mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Merge pull request #2988
2522ff1
Prevent textbox from turning active when window is not active. Fixes #2924 (xmrdsc)
This commit is contained in:
commit
11fd19e0f8
1 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ Item {
|
||||||
capsLockTextLabel.visible = oshelper.isCapsLock();
|
capsLockTextLabel.visible = oshelper.isCapsLock();
|
||||||
passwordInput1.reset();
|
passwordInput1.reset();
|
||||||
passwordInput2.reset();
|
passwordInput2.reset();
|
||||||
|
if(appWindow.active)
|
||||||
passwordInput1.input.forceActiveFocus();
|
passwordInput1.input.forceActiveFocus();
|
||||||
root.walletName = walletName ? walletName : ""
|
root.walletName = walletName ? walletName : ""
|
||||||
errorTextLabel.text = errorText ? errorText : "";
|
errorTextLabel.text = errorText ? errorText : "";
|
||||||
|
|
Loading…
Reference in a new issue