forked from Public/monero-gui
Settings: show error msg on wrong pw input
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user