Mercurial > libervia-desktop-kivy
comparison cagou/core/xmlui.py @ 227:add3dcd65dd6
core (xmlui): removed debug log on text input
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 27 Jun 2018 22:24:06 +0200 |
parents | 37638765c97b |
children | 525527a01439 |
comparison
equal
deleted
inserted
replaced
226:1abd9d694e67 | 227:add3dcd65dd6 |
---|---|
54 # will trigger a on_text | 54 # will trigger a on_text |
55 if not self._got_focus and focus: | 55 if not self._got_focus and focus: |
56 self._got_focus = True | 56 self._got_focus = True |
57 | 57 |
58 def on_text(self, instance, new_text): | 58 def on_text(self, instance, new_text): |
59 log.debug("on_text: %s" % new_text) | |
60 if self._xmlui_onchange_cb is not None and self._got_focus: | 59 if self._xmlui_onchange_cb is not None and self._got_focus: |
61 self._xmlui_onchange_cb(self) | 60 self._xmlui_onchange_cb(self) |
62 | 61 |
63 | 62 |
64 class EmptyWidget(xmlui.EmptyWidget, Widget): | 63 class EmptyWidget(xmlui.EmptyWidget, Widget): |