mirror of
https://github.com/liberatedsystems/Sideband_CE.git
synced 2024-09-03 04:13:27 +02:00
Updated keyboard shortcuts
This commit is contained in:
parent
a1aa0544b3
commit
d4b458745b
@ -760,6 +760,8 @@ class SidebandApp(MDApp):
|
|||||||
if len(modifiers) > 0 and modifiers[0] == 'ctrl' and (text == "w"):
|
if len(modifiers) > 0 and modifiers[0] == 'ctrl' and (text == "w"):
|
||||||
if self.root.ids.screen_manager.current == "conversations_screen":
|
if self.root.ids.screen_manager.current == "conversations_screen":
|
||||||
self.quit_action(self)
|
self.quit_action(self)
|
||||||
|
elif self.root.ids.screen_manager.current == "map_settings_screen":
|
||||||
|
self.close_sub_map_action()
|
||||||
elif self.root.ids.screen_manager.current == "object_details_screen":
|
elif self.root.ids.screen_manager.current == "object_details_screen":
|
||||||
self.object_details_screen.close_action()
|
self.object_details_screen.close_action()
|
||||||
else:
|
else:
|
||||||
@ -821,8 +823,10 @@ class SidebandApp(MDApp):
|
|||||||
self.close_sub_hardware_action()
|
self.close_sub_hardware_action()
|
||||||
elif self.root.ids.screen_manager.current == "hardware_serial_screen":
|
elif self.root.ids.screen_manager.current == "hardware_serial_screen":
|
||||||
self.close_sub_hardware_action()
|
self.close_sub_hardware_action()
|
||||||
if self.root.ids.screen_manager.current == "object_details_screen":
|
elif self.root.ids.screen_manager.current == "object_details_screen":
|
||||||
self.object_details_screen.close_action()
|
self.object_details_screen.close_action()
|
||||||
|
elif self.root.ids.screen_manager.current == "map_settings_screen":
|
||||||
|
self.close_sub_map_action()
|
||||||
else:
|
else:
|
||||||
self.open_conversations(direction="right")
|
self.open_conversations(direction="right")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user