mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00:00
Save wallet password
This commit is contained in:
parent
f3a47dbff8
commit
05f0f82bdc
3 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -69,6 +69,8 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
onNextClicked: {
|
||||
wizardController.walletOptionsPassword = passwordFields.password;
|
||||
|
||||
if(appWindow.walletMode === 0 || appWindow.walletMode === 1){
|
||||
wizardController.fetchRemoteNodes(function(){
|
||||
wizardStateView.state = "wizardCreateWallet4";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue