mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01:00
Fixed interface mode settings not working correctly
This commit is contained in:
parent
f09e01e065
commit
68e603057c
@ -2368,7 +2368,7 @@ class SidebandApp(MDApp):
|
|||||||
all_valid = True
|
all_valid = True
|
||||||
iftypes = ["local", "tcp", "i2p", "rnode", "modem", "serial"]
|
iftypes = ["local", "tcp", "i2p", "rnode", "modem", "serial"]
|
||||||
for iftype in iftypes:
|
for iftype in iftypes:
|
||||||
element = self.root.ids["connectivity_"+iftype+"_ifmode"]
|
element = self.connectivity_screen.ids["connectivity_"+iftype+"_ifmode"]
|
||||||
modes = ["full", "gateway", "access point", "roaming", "boundary"]
|
modes = ["full", "gateway", "access point", "roaming", "boundary"]
|
||||||
value = element.text.lower()
|
value = element.text.lower()
|
||||||
if value in ["", "f"] or value.startswith("fu"):
|
if value in ["", "f"] or value.startswith("fu"):
|
||||||
|
Loading…
Reference in New Issue
Block a user