mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-24 07:20:37 -04:00
Fixed info telemetry field not updating immediately after settings change
This commit is contained in:
parent
d3a27f4121
commit
8375ea224a
3 changed files with 8 additions and 3 deletions
|
@ -436,12 +436,13 @@ class Telemetry():
|
|||
self.app.sideband.config["telemetry_s_proximity"] = self.sensors_screen.ids.telemetry_s_proximity.active
|
||||
|
||||
if self.app.sideband.config["telemetry_s_information"] != self.sensors_screen.ids.telemetry_s_information.active:
|
||||
self.app.sideband.config["telemetry_s_information"] = self.sensors_screen.ids.telemetry_s_information.active
|
||||
run_telemetry_update = True
|
||||
self.app.sideband.config["telemetry_s_information"] = self.sensors_screen.ids.telemetry_s_information.active
|
||||
|
||||
if self.app.sideband.config["telemetry_s_information_text"] != self.sensors_screen.ids.telemetry_s_information_text.text:
|
||||
self.app.sideband.config["telemetry_s_information_text"] = self.sensors_screen.ids.telemetry_s_information_text.text
|
||||
run_telemetry_update = True
|
||||
self.app.sideband.config["telemetry_s_information_text"] = self.sensors_screen.ids.telemetry_s_information_text.text
|
||||
|
||||
|
||||
try:
|
||||
alt = float(self.sensors_screen.ids.telemetry_s_fixed_altitude.text.strip().replace(" ", ""))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue