Browse Source

kivy: fix is_exit behaviour

283
ThomasV 9 years ago
parent
commit
60756e2ef9
  1. 1
      gui/kivy/main_window.py
  2. 3
      gui/kivy/uix/dialogs/__init__.py

1
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)

3
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()

Loading…
Cancel
Save