fix: Delete check condition while start operation dialog.

This commit is contained in:
sunwen
2024-06-20 15:07:27 +08:00
parent 4c8a99d4fb
commit 572cae7f9c

View File

@@ -492,10 +492,10 @@ void DialogManager::raiseDeviceError(QObject *parent, QObject *msg) {
// 扫描过程 dialog 只能为最底层并且会被error dialog 清除!
void DialogManager::invokeOperationStart(QObject *parent, QObject *msg) {
//没有目标parent 撤销操作
if (!QApplication::activeWindow()) return;
//只能在最底层窗口上模态
if (mDialogCount>0) return;
// //没有目标parent 撤销操作
// if (!QApplication::activeWindow()) return;
// //只能在最底层窗口上模态
// if (mDialogCount>0) return;
clearMessageDialog();
mOperationMessageDialog = new GUIMessageDialog(QApplication::activeWindow());
if (msg)