From ece51234887bb9a0934780c60a151eabc79322d0 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 10 Jan 2019 11:28:38 +1100 Subject: [PATCH] fixed crash when ripple deleting with no active sequence --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index bd94ea924..e46999e45 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -397,7 +397,7 @@ void MainWindow::export_dialog() { } void MainWindow::ripple_delete() { - panel_timeline->delete_selection(sequence->selections, true); + if (sequence != NULL) panel_timeline->delete_selection(sequence->selections, true); } void MainWindow::editMenu_About_To_Be_Shown() {