修复日志模块深色显示不正确

This commit is contained in:
xinzhu.yin
2026-05-29 08:32:21 +08:00
parent 4498ec501e
commit 21455f3916
4 changed files with 309 additions and 51 deletions

View File

@@ -723,6 +723,16 @@ def _on_toggle_theme(self: "PQAutomationApp") -> None:
self.apply_result_chart_theme()
except Exception:
pass
if hasattr(self, "log_gui") and hasattr(self.log_gui, "refresh_log_theme"):
try:
self.log_gui.refresh_log_theme()
except Exception:
pass
if hasattr(self, "refresh_calman_theme"):
try:
self.refresh_calman_theme()
except Exception:
pass
# 同步刷新侧栏选中态(高亮样式跟随新色板)
if hasattr(self, "update_sidebar_selection"):
try: