commit 0929673205842a53ca264cf094bfa47952c798a1 parent bbe7b277d2e8815977e399d2dad25e535c09b13d Author: ThomasV <thomasv@electrum.org> Date: Sat, 4 Jun 2016 13:24:20 +0200 kivy: dont save last wallet if user cancelled Diffstat:
M | gui/kivy/__init__.py | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/kivy/__init__.py b/gui/kivy/__init__.py @@ -56,4 +56,5 @@ class ElectrumGui: plugins = self.plugins, gui_object=self) w.run() - self.config.save_last_wallet(w.wallet) + if w.wallet: + self.config.save_last_wallet(w.wallet)