diff options
author | nick_m <mainsbridge@gmail.com> | 2016-11-23 15:29:57 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-11-23 15:29:57 +1100 |
commit | 390f56a5e19a2bfe44a90cd6b7dcee5cefc7c033 (patch) | |
tree | 5361fa65c9c4333fb0f4e55a1d70564ca5ca2d4b /gtk2_ardour/automation_region_view.cc | |
parent | 522264f5d60a202665f0575a77be37c1b46203fa (diff) |
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.
Diffstat (limited to 'gtk2_ardour/automation_region_view.cc')
-rw-r--r-- | gtk2_ardour/automation_region_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ } |