From a68a882fcad010f3ec50a725da48ae3d8d124c86 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 7 Oct 2023 17:36:12 +0200 Subject: [PATCH] Fixed missing connectivity init --- sbapp/main.py | 3 +++ sbapp/ui/layouts.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sbapp/main.py b/sbapp/main.py index 15934df..b8d1a7d 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -1436,6 +1436,9 @@ class SidebandApp(MDApp): self.widget_hide(self.root.ids.connectivity_use_serial) self.widget_hide(self.root.ids.connectivity_serial_fields) + self.widget_hide(self.root.ids.connectivity_shared_access) + self.widget_hide(self.root.ids.connectivity_shared_access_label) + self.widget_hide(self.root.ids.connectivity_shared_access_fields) self.widget_hide(self.root.ids.connectivity_transport_label) self.widget_hide(self.root.ids.connectivity_enable_transport) self.widget_hide(self.root.ids.connectivity_transport_info) diff --git a/sbapp/ui/layouts.py b/sbapp/ui/layouts.py index 327edec..45dddf4 100644 --- a/sbapp/ui/layouts.py +++ b/sbapp/ui/layouts.py @@ -525,6 +525,7 @@ MDNavigationLayout: MDLabel: text: "Shared Instance Access\\n" + id: connectivity_shared_access_label font_style: "H6" MDLabel: @@ -536,7 +537,7 @@ MDNavigationLayout: height: self.texture_size[1] MDBoxLayout: - id: connectivity_serial_fields + id: connectivity_shared_access_fields orientation: "vertical" size_hint_y: None height: self.minimum_height