mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 20:40:27 +00:00
Merge pull request #2111
24e7307
components: hide password on dialog opening (selsta)
This commit is contained in:
commit
f37a17581e
3 changed files with 9 additions and 0 deletions
|
@ -49,6 +49,9 @@ Item {
|
||||||
signal closeCallback()
|
signal closeCallback()
|
||||||
|
|
||||||
function open() {
|
function open() {
|
||||||
|
isHidden = true
|
||||||
|
passwordInput1.echoMode = TextInput.Password;
|
||||||
|
passwordInput2.echoMode = TextInput.Password;
|
||||||
inactiveOverlay.visible = true
|
inactiveOverlay.visible = true
|
||||||
leftPanel.enabled = false
|
leftPanel.enabled = false
|
||||||
middlePanel.enabled = false
|
middlePanel.enabled = false
|
||||||
|
|
|
@ -51,6 +51,10 @@ Item {
|
||||||
signal closeCallback()
|
signal closeCallback()
|
||||||
|
|
||||||
function open(walletName, errorText) {
|
function open(walletName, errorText) {
|
||||||
|
isHidden = true
|
||||||
|
passphaseInput1.echoMode = TextInput.Password;
|
||||||
|
passphaseInput2.echoMode = TextInput.Password;
|
||||||
|
|
||||||
inactiveOverlay.visible = true
|
inactiveOverlay.visible = true
|
||||||
|
|
||||||
root.walletName = walletName ? walletName : ""
|
root.walletName = walletName ? walletName : ""
|
||||||
|
|
|
@ -56,6 +56,8 @@ Item {
|
||||||
signal closeCallback()
|
signal closeCallback()
|
||||||
|
|
||||||
function open(walletName, errorText) {
|
function open(walletName, errorText) {
|
||||||
|
isHidden = true
|
||||||
|
passwordInput.echoMode = TextInput.Password
|
||||||
passwordInput.text = ""
|
passwordInput.text = ""
|
||||||
passwordInput.forceActiveFocus();
|
passwordInput.forceActiveFocus();
|
||||||
inactiveOverlay.visible = true // draw appwindow inactive
|
inactiveOverlay.visible = true // draw appwindow inactive
|
||||||
|
|
Loading…
Reference in a new issue