exportdialog: use open rather than exec

This commit is contained in:
itsmattkc
2020-11-28 21:27:47 +11:00
parent d9e445d39e
commit ee2deb1365
+3 -2
View File
@@ -356,8 +356,9 @@ void Core::DialogExportShow()
if (viewer) {
Sequence* sequence = dynamic_cast<Sequence*>(viewer->parent());
ExportDialog ed(viewer, sequence, main_window_);
ed.exec();
ExportDialog* ed = new ExportDialog(viewer, sequence, main_window_);
connect(ed, &ExportDialog::finished, ed, &ExportDialog::deleteLater);
ed->open();
}
}