修复UCD调用异常、保存结果按钮异常

This commit is contained in:
xinzhu.yin
2026-06-15 10:58:51 +08:00
parent c8ad244c45
commit dc096a9805
6 changed files with 65 additions and 15 deletions

View File

@@ -722,7 +722,7 @@ class PQDebugPanel:
test_item: gamma / eotf / accuracy / rgb
"""
# 检查设备连接
if not self.app.ca or not self.app.ucd:
if not self.app.ca or not self.app.is_ucd_connected:
messagebox.showerror("错误", "请先连接设备")
return