mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 23:53:41 +02:00
Settings: show error msg on wrong pw input
This commit is contained in:
parent
ff998ba17b
commit
50f62c972e
@ -65,7 +65,15 @@ Rectangle {
|
|||||||
if(appWindow.password === settingsPasswordDialog.password){
|
if(appWindow.password === settingsPasswordDialog.password){
|
||||||
memoTextInput.text = currentWallet.seed
|
memoTextInput.text = currentWallet.seed
|
||||||
showSeedButton.visible = false
|
showSeedButton.visible = false
|
||||||
|
} else {
|
||||||
|
informationPopup.title = qsTr("Error") + translationManager.emptyString;
|
||||||
|
informationPopup.text = qsTr("Wrong password");
|
||||||
|
informationPopup.open()
|
||||||
|
informationPopup.onCloseCallback = function() {
|
||||||
|
settingsPasswordDialog.open()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
settingsPasswordDialog.password = ""
|
settingsPasswordDialog.password = ""
|
||||||
}
|
}
|
||||||
onRejected: {
|
onRejected: {
|
||||||
|
Loading…
Reference in New Issue
Block a user