继续优化深色模式显示

This commit is contained in:
xinzhu.yin
2026-05-28 16:41:52 +08:00
parent cf724d60d7
commit c173e2338d
10 changed files with 278 additions and 96 deletions

View File

@@ -718,6 +718,11 @@ def _on_toggle_theme(self: "PQAutomationApp") -> None:
from app.views.theme_manager import toggle_theme
toggle_theme()
_refresh_theme_toggle_label(self)
if hasattr(self, "apply_result_chart_theme"):
try:
self.apply_result_chart_theme()
except Exception:
pass
# 同步刷新侧栏选中态(高亮样式跟随新色板)
if hasattr(self, "update_sidebar_selection"):
try: