mirror of https://github.com/kivy/kivy.git
Remove the Clock.schedule for setting focus. It's not needed and it does not solve the actual issue it was introduced for.
This commit is contained in:
parent
2a00a48e23
commit
0798f3c8ab
|
@ -878,10 +878,8 @@ class FocusBehavior(object):
|
||||||
if next:
|
if next:
|
||||||
self.focused = False
|
self.focused = False
|
||||||
|
|
||||||
def _fn(dt):
|
next.focused = True
|
||||||
next.focused = True
|
|
||||||
|
|
||||||
Clock.schedule_once(_fn)
|
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue