1
0

kivy wizard: don't use auto-dismiss. rename classes

This commit is contained in:
ThomasV
2016-01-19 23:10:10 +01:00
parent b1f9f7faed
commit 4bfaa1fa02
3 changed files with 18 additions and 46 deletions

View File

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