Merge pull request #2942 from kivy/focus_clock_revert

Remove the Clock.schedule for setting focus. It's not needed and it does...
This commit is contained in:
matham 2015-01-29 14:55:24 -05:00
commit 588d15e626
1 changed files with 1 additions and 3 deletions

View File

@ -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