1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-13 07:33:55 +01:00

Settings: show error msg on wrong pw input

This commit is contained in:
Jaquee 2016-12-09 13:22:55 +01:00
parent ff998ba17b
commit 50f62c972e
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

View File

@ -65,7 +65,15 @@ Rectangle {
if(appWindow.password === settingsPasswordDialog.password){
memoTextInput.text = currentWallet.seed
showSeedButton.visible = false
} else {
informationPopup.title = qsTr("Error") + translationManager.emptyString;
informationPopup.text = qsTr("Wrong password");
informationPopup.open()
informationPopup.onCloseCallback = function() {
settingsPasswordDialog.open()
}
}
settingsPasswordDialog.password = ""
}
onRejected: {