From 390f56a5e19a2bfe44a90cd6b7dcee5cefc7c033 Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 23 Nov 2016 15:29:57 +1100 Subject: fix a crash when deleting a MIDI region with CC automation (see recipe below) - object mode: select a MIDI region that has CC automation. Move the mouse over a CC automation event, then press backspace to delete the selected region - the recipe is mentioned in #7049, but seems unrelated. --- gtk2_ardour/automation_region_view.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index 8466292975..8354e16b10 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -68,6 +68,7 @@ AutomationRegionView::AutomationRegionView (ArdourCanvas::Container* AutomationRegionView::~AutomationRegionView () { + in_destructor = true; RegionViewGoingAway (this); /* EMIT_SIGNAL */ } -- cgit v1.2.3