electrum

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

commit e60b35df643ea7c8f4f6906ece15b3b0f79c9d49
parent 72da1e3b8fec873b87a78f792f96119fa91b6ecd
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 20 Jan 2016 06:28:35 +0100

kivy wizard: stop on_dismiss

Diffstat:
Mgui/kivy/uix/dialogs/create_restore.py | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/gui/kivy/uix/dialogs/create_restore.py b/gui/kivy/uix/dialogs/create_restore.py @@ -270,6 +270,12 @@ class WizardDialog(EventsDialog): else: self.crcontent.add_widget(widget, index=index) + def on_dismiss(self): + app = App.get_running_app() + if app.wallet is None and self._on_release is not None: + print "on dismiss: stopping app" + app.stop() + class CreateRestoreDialog(WizardDialog): ''' Initial Dialog for creating or restoring seed'''