PasswordDialog: don't always show()

This commit is contained in:
mmbyday 2019-04-11 15:03:00 -07:00
parent d2c47606ca
commit 9c4688b3f0
3 changed files with 2 additions and 5 deletions

View file

@ -1,4 +1,4 @@
// Copyright (c) 2017, The Monero Project // Copyright (c) 2014-2019, The Monero Project
// //
// All rights reserved. // All rights reserved.
// //
@ -53,7 +53,6 @@ Item {
leftPanel.enabled = false leftPanel.enabled = false
middlePanel.enabled = false middlePanel.enabled = false
titleBar.enabled = false titleBar.enabled = false
show();
root.visible = true; root.visible = true;
passwordInput1.text = ""; passwordInput1.text = "";
passwordInput2.text = ""; passwordInput2.text = "";

View file

@ -59,7 +59,6 @@ Item {
leftPanel.enabled = false leftPanel.enabled = false
middlePanel.enabled = false middlePanel.enabled = false
titleBar.enabled = false titleBar.enabled = false
show();
root.visible = true; root.visible = true;
passphaseInput1.text = ""; passphaseInput1.text = "";
passphaseInput2.text = ""; passphaseInput2.text = "";

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2018, The Monero Project // Copyright (c) 2014-2019, The Monero Project
// //
// All rights reserved. // All rights reserved.
// //
@ -63,7 +63,6 @@ Item {
leftPanel.enabled = false leftPanel.enabled = false
middlePanel.enabled = false middlePanel.enabled = false
titleBar.enabled = false titleBar.enabled = false
show()
root.visible = true; root.visible = true;
passwordInput.forceActiveFocus(); passwordInput.forceActiveFocus();
passwordInput.text = "" passwordInput.text = ""