mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Merge pull request #257
50f62c9
Settings: show error msg on wrong pw input (Jaquee)
This commit is contained in:
commit
a3d048ec7b
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue