2
0
forked from Ivasoft/DSView

fix: the manual calibration dialog can't restore after done abort action

This commit is contained in:
dreamsourcelabTAI
2024-04-20 11:30:24 +08:00
parent 4d7a3a0743
commit debfdc23af

View File

@@ -317,6 +317,10 @@ void Calibration::on_abort()
Qt::WindowMinimizeButtonHint | Qt::WindowMaximizeButtonHint);
dlg.setCancelButton(NULL);
QFutureWatcher<void> watcher;
connect(&watcher,SIGNAL(finished()),&dlg,SLOT(cancel()));
watcher.setFuture(future);
dlg.exec();
this->show();
}