bugfix
This commit is contained in:
parent
0378528b96
commit
9bdf42aa1b
@ -52,13 +52,7 @@ class PageContainer(FloatLayout):
|
|||||||
def previous(self,v=None):
|
def previous(self,v=None):
|
||||||
if len(self.pageWidgets) <= 1:
|
if len(self.pageWidgets) <= 1:
|
||||||
return
|
return
|
||||||
w = self.pageWidgets[-1]
|
|
||||||
if hasattr(w, 'beforeDestroy'):
|
|
||||||
x = w.beforeDestroy()
|
|
||||||
if not x:
|
|
||||||
return
|
|
||||||
self.pageWidgets = self.pageWidgets[:-1]
|
self.pageWidgets = self.pageWidgets[:-1]
|
||||||
del w
|
|
||||||
self.showLastPage()
|
self.showLastPage()
|
||||||
|
|
||||||
def add_widget(self,widget):
|
def add_widget(self,widget):
|
||||||
|
Loading…
Reference in New Issue
Block a user