aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Brydolf <jacob@brydolf.net>2016-10-11 01:02:07 +0200
committerJacob Brydolf <jacob@brydolf.net>2016-10-11 01:02:07 +0200
commitb8c07de8197c69f95681f27be4c86d5b5e5bdefa (patch)
treea4c47493aed104ed92978d1772f3a3b7fdf65ce5
parente5b9a1b9d79500573f8ce2865fd515a8adae53b2 (diff)
downloadmonzero-gui-b8c07de8197c69f95681f27be4c86d5b5e5bdefa.tar.gz
monzero-gui-b8c07de8197c69f95681f27be4c86d5b5e5bdefa.tar.xz
monzero-gui-b8c07de8197c69f95681f27be4c86d5b5e5bdefa.zip
wizard: store password in appwindow session
-rw-r--r--wizard/WizardMain.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/wizard/WizardMain.qml b/wizard/WizardMain.qml
index 097fb58a..43200304 100644
--- a/wizard/WizardMain.qml
+++ b/wizard/WizardMain.qml
@@ -124,6 +124,9 @@ Rectangle {
// protecting wallet with password
settings.wallet.setPassword(settings.wallet_password);
+ // Store password in session to be able to use password protected functions (e.g show seed)
+ appWindow.password = settings.wallet_password
+
// saving wallet_filename;
settings['wallet_filename'] = new_wallet_filename;