From 6adc7e6bdb318a178595a6532a21da8d79a97cb0 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Sat, 17 May 2025 02:10:58 +0800 Subject: [PATCH] system/ui: disable continue button when no network connecton in setup.py (#35249) disable continue button when no network connecton --- system/ui/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/system/ui/setup.py b/system/ui/setup.py index 8c75b8e7c7..7cf4cac9b4 100755 --- a/system/ui/setup.py +++ b/system/ui/setup.py @@ -167,6 +167,7 @@ class Setup: rl.Rectangle(rect.x + MARGIN + button_width + BUTTON_SPACING, button_y, button_width, BUTTON_HEIGHT), continue_text, button_style=ButtonStyle.PRIMARY if continue_enabled else ButtonStyle.NORMAL, + is_enabled=continue_enabled, ): self.state = SetupState.SOFTWARE_SELECTION self.stop_network_check_thread.set()