mirror of https://github.com/kivy/kivy.git
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:
commit
588d15e626
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue