Added improved copy/paste behaviour for fields

This commit is contained in:
Mark Qvist 2023-10-31 19:09:04 +01:00
parent bab181ae76
commit fd7f8dfd76
3 changed files with 83 additions and 36 deletions

View file

@ -38,6 +38,7 @@ class Telemetry():
self.screen.app = self.app
self.screen.delegate = self
self.app.root.ids.screen_manager.add_widget(self.screen)
self.app.bind_clipboard_actions(self.screen.ids)
self.screen.ids.telemetry_collector.bind(focus=self.telemetry_save)
if self.app.sideband.config["telemetry_collector"] == None:
@ -319,6 +320,7 @@ class Telemetry():
self.sensors_screen.app = self.app
self.sensors_screen.delegate = self
self.app.root.ids.screen_manager.add_widget(self.sensors_screen)
self.bind_clipboard_actions(self.sensors_screen.ids)
info3 = "\nTo include a specific type of telemetry data while sending, it must be enabled below. Please note that some sensor types are not supported on all devices. Sideband will only be able to read a specific type of sensor if your device actually includes hardware for it.\n"
if self.app.theme_cls.theme_style == "Dark":