Mercurial > libervia-desktop-kivy
diff cagou/core/cagou_widget.py @ 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 | cd99f70ea592 |
children | 60b2b2bad747 |
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"""