kivy: fix is_exit behaviour

This commit is contained in:
ThomasV 2016-06-09 08:00:25 +02:00
parent ccd0deb600
commit 60756e2ef9
2 changed files with 3 additions and 1 deletions

View File

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

View File

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