From 53f3f03e1d0a5319228be4e4fb58945fbcf3d612 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 10 Mar 2019 09:04:31 +1100 Subject: [PATCH] fixed closing crash after deleting clips --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 7df65207b..c32ce4536 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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()) {