Fixed interface mode settings not working correctly

This commit is contained in:
Mark Qvist 2024-03-23 19:42:47 +01:00
parent f09e01e065
commit 68e603057c
1 changed files with 1 additions and 1 deletions

View File

@ -2368,7 +2368,7 @@ class SidebandApp(MDApp):
all_valid = True
iftypes = ["local", "tcp", "i2p", "rnode", "modem", "serial"]
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"]
value = element.text.lower()
if value in ["", "f"] or value.startswith("fu"):