This commit is contained in:
yumoqing 2020-11-13 18:13:46 +08:00
parent a767ff1590
commit 14e60b3430
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class BoxViewer(WidgetReady, BoxLayout):
"modifiers":[]
},
]
# self.use_keyboard(self.used_keys)
self.use_keyboard(self.used_keys)
self.selected_data = None
self.options = options
self.box_width = CSize(options['boxwidth'])

View File

@ -49,7 +49,7 @@ class WidgetReady(EventDispatcher):
self.my_kb = Window.request_keyboard(self.unuse_keyboard, self, "text")
self.my_kb.bind(on_key_down=self._on_keyboard_down)
if self.my_kb.widget:
self.my_kb.set_mode_free()
pass #self.my_kb.set_mode_free()
self.keyinfos = keyinfos
def unuse_keyboard(self):