aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-07-01 11:44:33 +0200
committerselsta <selsta@sent.at>2019-07-15 00:05:10 +0200
commit35a0f25b5702a13696aec4bc679d0c25b576ca17 (patch)
treee96eb040cbba6b8177e86a6d92d458116b6eaf30 /wizard
parentc7956f76ead2c82a320c830a63ffa97d55a10bb6 (diff)
downloadmonzero-gui-35a0f25b5702a13696aec4bc679d0c25b576ca17.tar.gz
monzero-gui-35a0f25b5702a13696aec4bc679d0c25b576ca17.tar.xz
monzero-gui-35a0f25b5702a13696aec4bc679d0c25b576ca17.zip
PasswordDialog: merge components and bug fixes
This commit merges PasswordDialog, PassphraseDialog and NewPasswordDialog. Also the following bugs were fixed: - Wizard pages still being active when opening a wallet from wizard. - Capslock detection was buggy when copy pasting password, I replaced it with native implementations for each platform. - isAlpha could throw errors when using special characters.
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardController.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml
index f4728ac2..c209faf0 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -498,15 +498,15 @@ Rectangle {
splash.close()
console.log(">>> wallet passphrase needed: ");
- passphraseDialog.onAcceptedCallback = function() {
- walletManager.onPassphraseEntered(passphraseDialog.passphrase);
+ passwordDialog.onAcceptedPassphraseCallback = function() {
+ walletManager.onPassphraseEntered(passwordDialog.password);
creatingWalletDeviceSplash();
}
- passphraseDialog.onRejectedCallback = function() {
+ passwordDialog.onRejectedPassphraseCallback = function() {
walletManager.onPassphraseEntered("", true);
creatingWalletDeviceSplash();
}
- passphraseDialog.open()
+ passwordDialog.openPassphraseDialog()
}
function onDeviceButtonRequest(code){