Permalink
Browse files

main: skip language page when logging out or changing wallets

  • Loading branch information...
mmbyday committed Jan 10, 2019
1 parent 7fe69ca commit 1398d497f79b52c14f4ae296c7811142f7cfe1ca
Showing with 2 additions and 0 deletions.
  1. +2 −0 main.qml
@@ -933,6 +933,7 @@ ApplicationWindow {
closeWallet();
currentWallet = undefined;
wizard.restart();
wizard.switchPage(true); //skips select language page
rootItem.state = "wizard"
// reset balance
leftPanel.balanceText = leftPanel.unlockedBalanceText = walletManager.displayAmount(0);
@@ -999,6 +1000,7 @@ ApplicationWindow {
initialize(persistentSettings);
}
passwordDialog.onRejectedCallback = function() {
wizard.switchPage(true); //skips select language page
rootItem.state = "wizard"
}
passwordDialog.open(usefulName(walletPath()))

0 comments on commit 1398d49

Please sign in to comment.