Skip to content

Commit

Permalink
fixed bug in pagelayout
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Feb 28, 2016
1 parent 1029f09 commit 62ba255
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions kivy/uix/pagelayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,12 @@ def on_touch_up(self, touch):
self._trigger_layout()

touch.ungrab(self)
return self.children[-self.page + 1].on_touch_up(touch)

try:
r = self.children[-self.page + 1].on_touch_up(touch)
except:
r = None
if r is not None:
return r

if __name__ == '__main__':
from kivy.base import runTouchApp
Expand Down

0 comments on commit 62ba255

Please sign in to comment.