exportdialog: use open rather than exec
This commit is contained in:
+3
-2
@@ -356,8 +356,9 @@ void Core::DialogExportShow()
|
|||||||
if (viewer) {
|
if (viewer) {
|
||||||
Sequence* sequence = dynamic_cast<Sequence*>(viewer->parent());
|
Sequence* sequence = dynamic_cast<Sequence*>(viewer->parent());
|
||||||
|
|
||||||
ExportDialog ed(viewer, sequence, main_window_);
|
ExportDialog* ed = new ExportDialog(viewer, sequence, main_window_);
|
||||||
ed.exec();
|
connect(ed, &ExportDialog::finished, ed, &ExportDialog::deleteLater);
|
||||||
|
ed->open();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user