Skip to content

Commit

Permalink
main: skip language page when logging out or changing wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
mmbyday committed Jan 10, 2019
1 parent 7fe69ca commit 1398d49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.qml
Expand Up @@ -933,6 +933,7 @@ ApplicationWindow {
closeWallet(); closeWallet();
currentWallet = undefined; currentWallet = undefined;
wizard.restart(); wizard.restart();
wizard.switchPage(true); //skips select language page
rootItem.state = "wizard" rootItem.state = "wizard"
// reset balance // reset balance
leftPanel.balanceText = leftPanel.unlockedBalanceText = walletManager.displayAmount(0); leftPanel.balanceText = leftPanel.unlockedBalanceText = walletManager.displayAmount(0);
Expand Down Expand Up @@ -999,6 +1000,7 @@ ApplicationWindow {
initialize(persistentSettings); initialize(persistentSettings);
} }
passwordDialog.onRejectedCallback = function() { passwordDialog.onRejectedCallback = function() {
wizard.switchPage(true); //skips select language page
rootItem.state = "wizard" rootItem.state = "wizard"
} }
passwordDialog.open(usefulName(walletPath())) passwordDialog.open(usefulName(walletPath()))
Expand Down

0 comments on commit 1398d49

Please sign in to comment.