mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 12:54:30 +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)
|
oshelper.removeTemporaryWallet(wizardController.tmpWalletFilename)
|
||||||
|
|
||||||
// protecting wallet with password
|
// 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)
|
// Store password in session to be able to use password protected functions (e.g show seed)
|
||||||
appWindow.walletPassword = walletOptionsPassword
|
appWindow.walletPassword = walletOptionsPassword
|
||||||
|
|
|
@ -69,6 +69,8 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onNextClicked: {
|
onNextClicked: {
|
||||||
|
wizardController.walletOptionsPassword = passwordFields.password;
|
||||||
|
|
||||||
if(appWindow.walletMode === 0 || appWindow.walletMode === 1){
|
if(appWindow.walletMode === 0 || appWindow.walletMode === 1){
|
||||||
wizardController.fetchRemoteNodes(function(){
|
wizardController.fetchRemoteNodes(function(){
|
||||||
wizardStateView.state = "wizardCreateWallet4";
|
wizardStateView.state = "wizardCreateWallet4";
|
||||||
|
|
|
@ -68,6 +68,8 @@ Rectangle {
|
||||||
wizardStateView.state = "wizardRestoreWallet1";
|
wizardStateView.state = "wizardRestoreWallet1";
|
||||||
}
|
}
|
||||||
onNextClicked: {
|
onNextClicked: {
|
||||||
|
wizardController.walletOptionsPassword = passwordFields.password;
|
||||||
|
|
||||||
if(appWindow.walletMode === 0 || appWindow.walletMode === 1){
|
if(appWindow.walletMode === 0 || appWindow.walletMode === 1){
|
||||||
wizardController.fetchRemoteNodes(function(){
|
wizardController.fetchRemoteNodes(function(){
|
||||||
wizardStateView.state = "wizardRestoreWallet4";
|
wizardStateView.state = "wizardRestoreWallet4";
|
||||||
|
|
Loading…
Reference in a new issue