feat: 完善 Face 一级关系编辑和稳定性校验
This commit is contained in:
@@ -214,6 +214,9 @@ class WindowCoreMixin:
|
||||
return
|
||||
edit_thread_running = bool(self.edit_thread is not None and self.edit_thread.isRunning())
|
||||
if self.operation_in_progress or edit_thread_running:
|
||||
if hasattr(self, "_cancel_active_edit_for_close") and self._cancel_active_edit_for_close():
|
||||
event.ignore()
|
||||
return
|
||||
self.statusBar().showMessage("后台编辑正在计算,请等待当前操作完成后再关闭窗口。")
|
||||
event.ignore()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user