fixed closing crash after deleting clips

This commit is contained in:
itsmattkc
2019-03-10 09:04:31 +11:00
parent 0e612e717d
commit 53f3f03e1d
+2
View File
@@ -946,6 +946,8 @@ void MainWindow::closeEvent(QCloseEvent *e) {
panel_footage_viewer->set_main_sequence();
olive::UndoStack.clear();
QString data_dir = get_data_path();
QString config_path = get_config_path();
if (!data_dir.isEmpty() && !autorecovery_filename.isEmpty()) {