Fix kivycatalog to use focused TextInput method.

This commit is contained in:
Matthew Einhorn 2014-05-05 12:39:43 -04:00 committed by akshayaurora
parent 906ae3a7cb
commit 482485c4fa
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ for class_name in CONTAINER_CLASSES:
class KivyRenderTextInput(CodeInput):
def _keyboard_on_key_down(self, window, keycode, text, modifiers):
def keyboard_on_key_down(self, window, keycode, text, modifiers):
is_osx = sys.platform == 'darwin'
# Keycodes on OSX:
ctrl, cmd = 64, 1024
@ -70,7 +70,7 @@ class KivyRenderTextInput(CodeInput):
self.catalog.change_kv(True)
return
super(KivyRenderTextInput, self)._keyboard_on_key_down(
super(KivyRenderTextInput, self).keyboard_on_key_down(
window, keycode, text, modifiers)