update: fixed settings bug

This commit is contained in:
JOhn 2026-07-17 13:18:40 -04:00
parent c3cf7e241e
commit cfd9a92a24
3 changed files with 1 additions and 3 deletions

0
gui/v2/infrastructure/ThreadSafetyTool.py Normal file → Executable file
View file

View file

@ -35,7 +35,6 @@ from core.errors.logger import logger as core_logger
from gui.v2.actions import settings_data
from gui.v2.actions.key_interpretation import interpret_key_results
from gui.v2.actions.profile_order import normalize_profile_order
from gui.v2.infrastructure.page_registry import PAGE_REGISTRY
from gui.v2.infrastructure.setup_observers import ticket_observer
from gui.v2.ui.pages.Page import Page
from gui.v2.ui.popups.confirmation_popup import ConfirmationPopup
@ -1176,9 +1175,8 @@ class Settings(Page):
super().showEvent(event)
self._settings_refresh_seq += 1
seq = self._settings_refresh_seq
module_path, class_name = PAGE_REGISTRY["settings"]
worker = PageDataWorker(
"settings", module_path, class_name, self.custom_window)
"settings", settings_data.prepare, self.custom_window.gui_config_file)
worker.data_ready.connect(
lambda name, payload, s=seq: self._on_settings_data_ready(payload, s))
worker.failed.connect(

0
gui/v2/ui/popups/generic_error_popup.py Normal file → Executable file
View file