diff --git a/kivy/uix/behaviors.py b/kivy/uix/behaviors.py index 27339e4aa..60c1b1aaa 100644 --- a/kivy/uix/behaviors.py +++ b/kivy/uix/behaviors.py @@ -878,10 +878,8 @@ class FocusBehavior(object): if next: self.focused = False - def _fn(dt): - next.focused = True + next.focused = True - Clock.schedule_once(_fn) return True return False