Mercurial > libervia-desktop-kivy
diff cagou/core/utils.py @ 390:3d009fec34da
core (utils): fixed FilterBehavior use of "children" attribute
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Feb 2020 21:16:21 +0100 |
parents | 1da3c379205b |
children |
line wrap: on
line diff
--- a/cagou/core/utils.py Thu Feb 06 21:16:21 2020 +0100 +++ b/cagou/core/utils.py Thu Feb 06 21:16:21 2020 +0100 @@ -55,7 +55,7 @@ text = text.strip().lower() filtering = len(text)>len(self._filter_last) self._filter_last = text - for child in self.layout.children: + for child in children: if continue_tests is not None and any((t(child) for t in continue_tests)): continue if text in get_child_text(child).lower():