electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 396fa949b0a38f08feeffaff6d6d2de76c1ac9e1
parent 531a2a5c1ffa32dc204a10b839c7203524f29630
Author: SomberNight <somber.night@protonmail.com>
Date:   Thu,  7 Jun 2018 00:58:29 +0200

follow-up prev

Diffstat:
Mgui/kivy/main_window.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py @@ -486,10 +486,14 @@ class ElectrumWindow(App): return '' def on_wizard_complete(self, instance, wallet): - if wallet: + if wallet: # wizard returned a wallet wallet.start_threads(self.daemon.network) self.daemon.add_wallet(wallet) self.load_wallet(wallet) + elif not self.wallet: + # wizard did not return a wallet; and there is no wallet open atm + # try to open last saved wallet (potentially start wizard again) + self.load_wallet_by_name(self.electrum_config.get_wallet_path()) def load_wallet_by_name(self, path): if not path: