UI: no longer close Clients on escape key press
This commit is contained in:
parent
bfb6d44195
commit
104df1915d
1
kvui.py
1
kvui.py
|
@ -150,4 +150,5 @@ class KivyJSONtoTextParser(JSONtoTextParser):
|
||||||
ExceptionManager.add_handler(E())
|
ExceptionManager.add_handler(E())
|
||||||
|
|
||||||
Config.set("input", "mouse", "mouse,disable_multitouch")
|
Config.set("input", "mouse", "mouse,disable_multitouch")
|
||||||
|
Config.set('kivy', 'exit_on_escape', '0')
|
||||||
Builder.load_file(Utils.local_path("data", "client.kv"))
|
Builder.load_file(Utils.local_path("data", "client.kv"))
|
||||||
|
|
|
@ -176,7 +176,7 @@ class World(metaclass=AutoWorldRegister):
|
||||||
Warning: this may be called with self.world = None, for example by MultiServer"""
|
Warning: this may be called with self.world = None, for example by MultiServer"""
|
||||||
raise NotImplementedError
|
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:
|
def collect(self, state: CollectionState, item: Item) -> bool:
|
||||||
name = self.collect_item(state, item)
|
name = self.collect_item(state, item)
|
||||||
if name:
|
if name:
|
||||||
|
|
Loading…
Reference in New Issue