mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 21:40:36 +01:00
Show advanced config if enabled and conf sec modem switched state
This commit is contained in:
parent
4bcab64dcc
commit
b118816b10
@ -3951,6 +3951,16 @@ class SidebandApp(MDApp):
|
|||||||
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_preset_next,False)
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_preset_next,False)
|
||||||
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_advanced_cfg,False)
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_advanced_cfg,False)
|
||||||
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_advanced_cfg_label,False)
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_advanced_cfg_label,False)
|
||||||
|
|
||||||
|
if self.sideband.config["hw_rnode_sec_advanced_cfg"]:
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_frequency,False)
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_bandwidth,False)
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_txpower,False)
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_spreadingfactor,False)
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_codingrate,False)
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_airtime_label,False)
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_atl_short,False)
|
||||||
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_atl_long,False)
|
||||||
else:
|
else:
|
||||||
self.sideband.config["hw_rnode_secondary_modem"] = False
|
self.sideband.config["hw_rnode_secondary_modem"] = False
|
||||||
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_channel,True)
|
self.widget_hide(self.hardware_rnode_screen.ids.hardware_rnode_sec_channel,True)
|
||||||
|
Loading…
Reference in New Issue
Block a user