From 9caaf6abcfc5e8cf82ce330a074cf6fa82c051fb Mon Sep 17 00:00:00 2001 From: John Date: Fri, 19 Sep 2025 18:24:00 +0100 Subject: [PATCH] fixed issue in debug help --- gui/__main__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/__main__.py b/gui/__main__.py index 61879d6..ecb6a52 100755 --- a/gui/__main__.py +++ b/gui/__main__.py @@ -4991,7 +4991,6 @@ class Settings(Page): self.ping_result_label.hide() debug_helper_layout.addWidget(self.ping_result_label) - self.update_debug_profile_list() scroll_layout.addWidget(debug_helper_group) wg_quick_group = QGroupBox("Direct Systemwide Wireguard") @@ -5094,13 +5093,15 @@ class Settings(Page): self.wg_quick_up_button = copy_wg_up_button self.wg_quick_down_button = copy_wg_down_button - # Store references to the wg-quick widgets as instance variables - # so they can be accessed by other methods in the Settings class + self.wg_quick_up_command_widget = self.wg_quick_up_command self.wg_quick_down_command_widget = self.wg_quick_down_command scroll_layout.addWidget(wg_quick_group) + + self.update_debug_profile_list() + scroll_area.setWidget(scroll_content) layout.addWidget(scroll_area)