electrum

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

commit 60756e2ef992e9d0efb87327b166b97516aacc4a
parent ccd0deb600200727f237792e062dce39605fe3fe
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  9 Jun 2016 08:00:25 +0200

kivy: fix is_exit behaviour

Diffstat:
Mgui/kivy/main_window.py | 1-
Mgui/kivy/uix/dialogs/__init__.py | 3+++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py @@ -447,7 +447,6 @@ class ElectrumWindow(App): self.is_exit = True self.show_info(_('Press again to exit')) return True - self.is_exit = False # override settings button if key in (319, 282): #f1/settings button on android #self.gui.main_gui.toggle_settings(self) diff --git a/gui/kivy/uix/dialogs/__init__.py b/gui/kivy/uix/dialogs/__init__.py @@ -182,6 +182,9 @@ class InfoBubble(Factory.Bubble): App.get_running_app().stop() import sys sys.exit() + else: + App.get_running_app().is_exit = False + if now: return on_stop()