kivy wizard: don't use auto-dismiss. rename classes
This commit is contained in:
@@ -110,10 +110,6 @@ class ElectrumWindow(App):
|
||||
return int(p * x)
|
||||
|
||||
|
||||
hierarchy = ListProperty([])
|
||||
'''used to navigate with the back button.
|
||||
'''
|
||||
|
||||
_orientation = OptionProperty('landscape',
|
||||
options=('landscape', 'portrait'))
|
||||
|
||||
@@ -336,14 +332,6 @@ class ElectrumWindow(App):
|
||||
if self.wallet:
|
||||
self.wallet.stop_threads()
|
||||
|
||||
def on_back(self):
|
||||
try:
|
||||
self.hierarchy.pop()()
|
||||
except IndexError:
|
||||
# capture back button and pause app.
|
||||
self._pause()
|
||||
|
||||
|
||||
def on_keyboard_height(self, window, height):
|
||||
win = window
|
||||
active_widg = win.children[0]
|
||||
|
||||
Reference in New Issue
Block a user