From 2ea4ae603aa02f7626a1ecfa15c8ec1ce474b352 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 6 Dec 2014 18:02:36 -0500 Subject: [PATCH] Fix crash on shift+rclick of region to remove. This doesn't seem to have been touched for years, and I don't see how such an obvious bug could possibly have been around for so long, but, well, this fixes it as far as I can tell. --- gtk2_ardour/editor_ops.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 69fcf67d16..4d4176d421 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -4041,6 +4041,8 @@ Editor::remove_clicked_region () return; } + begin_reversible_command (_("remove region")); + boost::shared_ptr playlist = clicked_routeview->playlist(); playlist->clear_changes ();