Save wallet password

This commit is contained in:
dsc 2019-02-25 16:15:52 +01:00
parent f3a47dbff8
commit 05f0f82bdc
No known key found for this signature in database
GPG key ID: 7BBC83D7A8810AAB
3 changed files with 5 additions and 1 deletions

View file

@ -310,7 +310,7 @@ Rectangle {
oshelper.removeTemporaryWallet(wizardController.tmpWalletFilename)
// protecting wallet with password
wizardController.m_wallet.setPassword(walletOptionsPassword);
wizardController.m_wallet.setPassword(wizardController.walletOptionsPassword);
// Store password in session to be able to use password protected functions (e.g show seed)
appWindow.walletPassword = walletOptionsPassword

View file

@ -69,6 +69,8 @@ Rectangle {
}
}
onNextClicked: {
wizardController.walletOptionsPassword = passwordFields.password;
if(appWindow.walletMode === 0 || appWindow.walletMode === 1){
wizardController.fetchRemoteNodes(function(){
wizardStateView.state = "wizardCreateWallet4";

View file

@ -68,6 +68,8 @@ Rectangle {
wizardStateView.state = "wizardRestoreWallet1";
}
onNextClicked: {
wizardController.walletOptionsPassword = passwordFields.password;
if(appWindow.walletMode === 0 || appWindow.walletMode === 1){
wizardController.fetchRemoteNodes(function(){
wizardStateView.state = "wizardRestoreWallet4";