mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
kivy: save and open to last wallet
The previous code did not work as before the flow reaches the old save point window.wallet is set to None in on_stop.
This commit is contained in:
parent
e57e55aad8
commit
ff7159495c
2 changed files with 2 additions and 2 deletions
|
@ -60,5 +60,3 @@ class ElectrumGui:
|
|||
plugins = self.plugins,
|
||||
gui_object=self)
|
||||
w.run()
|
||||
if w.wallet:
|
||||
self.config.save_last_wallet(w.wallet)
|
||||
|
|
|
@ -511,6 +511,8 @@ class ElectrumWindow(App):
|
|||
|
||||
def on_stop(self):
|
||||
Logger.info('on_stop')
|
||||
if self.wallet:
|
||||
self.electrum_config.save_last_wallet(self.wallet)
|
||||
self.stop_wallet()
|
||||
|
||||
def stop_wallet(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue