aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2018-10-24 03:50:56 +0000
committerxiphon <xiphon@protonmail.com>2018-10-24 06:54:31 +0300
commit39855241fcd0747ebe95e2e92cd5cfcb2d5a64be (patch)
treef29dbcb964c9a8d1e25b37a2d83f95199a16a01a /js
parent3aa6da058a697378d8b6ee0864a559c207a332e2 (diff)
downloadmonzero-gui-39855241fcd0747ebe95e2e92cd5cfcb2d5a64be.tar.gz
monzero-gui-39855241fcd0747ebe95e2e92cd5cfcb2d5a64be.tar.xz
monzero-gui-39855241fcd0747ebe95e2e92cd5cfcb2d5a64be.zip
password dialog: show error in place
Diffstat (limited to 'js')
-rw-r--r--js/Utils.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/js/Utils.js b/js/Utils.js
index 9a6e4829..dad1f143 100644
--- a/js/Utils.js
+++ b/js/Utils.js
@@ -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() {