Merge pull request #257

50f62c9 Settings: show error msg on wrong pw input (Jaquee)
This commit is contained in:
Riccardo Spagni 2016-12-14 23:31:22 +02:00
commit a3d048ec7b
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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: {