UI: no longer close Clients on escape key press

This commit is contained in:
Fabian Dill 2021-09-22 08:02:15 +02:00
parent bfb6d44195
commit 104df1915d
2 changed files with 2 additions and 1 deletions

View File

@ -150,4 +150,5 @@ class KivyJSONtoTextParser(JSONtoTextParser):
ExceptionManager.add_handler(E())
Config.set("input", "mouse", "mouse,disable_multitouch")
Config.set('kivy', 'exit_on_escape', '0')
Builder.load_file(Utils.local_path("data", "client.kv"))

View File

@ -176,7 +176,7 @@ class World(metaclass=AutoWorldRegister):
Warning: this may be called with self.world = None, for example by MultiServer"""
raise NotImplementedError
# following methods should not need to be overriden.
# following methods should not need to be overridden.
def collect(self, state: CollectionState, item: Item) -> bool:
name = self.collect_item(state, item)
if name: