格式统一

This commit is contained in:
duxin
2026-07-01 09:57:27 +08:00
parent c793ea2204
commit a3c20d3e49
37 changed files with 2286 additions and 1978 deletions

View File

@ -509,6 +509,11 @@ class WaterQualityGUI(QMainWindow):
if not self._tab_widget.isTabEnabled(tab_index):
self._log_manager.info(f"检测到 {item_data} 处于异常锁定状态,已执行强制解锁。")
self._tab_widget.setTabEnabled(tab_index, True)
QMessageBox.warning(
self, "页面已解锁",
f"步骤「{item_data}」之前被异常锁定,已自动强制解锁。\n"
"如果当前有流程正在运行,请勿修改此页面的参数。"
)
# 【新增修复】:在跳之前,再核实一遍要去的 tab_index 和 item_data 的 step_id 是否吻合!
# 如果因为删除了死文件导致索引错位,这里强行用真实 step_id 再找一遍!