changeset 158:976f22cb3ecc

core (cagou widget): return parent value in on_touch_down
author Goffi <goffi@goffi.org>
date Sat, 28 Apr 2018 08:57:51 +0200
parents e1f6dab40eed
children 8ed389d15690
files cagou/core/cagou_widget.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/cagou_widget.py	Sat Apr 28 08:57:04 2018 +0200
+++ b/cagou/core/cagou_widget.py	Sat Apr 28 08:57:51 2018 +0200
@@ -75,7 +75,7 @@
     def on_touch_down(self, touch):
         if self.collide_point(*touch.pos):
             G.host.selected_widget = self
-        super(CagouWidget, self).on_touch_down(touch)
+        return super(CagouWidget, self).on_touch_down(touch)
 
     def headerInputAddExtra(self, widget):
         """add a widget on the right of header input"""