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()) {