password dialog: show error in place

This commit is contained in:
xiphon
2018-10-24 03:50:56 +00:00
parent 3aa6da058a
commit 39855241fc
4 changed files with 23 additions and 20 deletions

View File

@@ -39,12 +39,7 @@ function showSeedPage() {
// Load keys page
appWindow.showPageRequest("Keys");
} else {
informationPopup.title = qsTr("Error") + translationManager.emptyString;
informationPopup.text = qsTr("Wrong password");
informationPopup.open()
informationPopup.onCloseCallback = function() {
passwordDialog.open()
}
passwordDialog.showError(qsTr("Wrong password"));
}
}
passwordDialog.onRejectedCallback = function() {