diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-01 16:32:31 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-01 16:56:20 +0200 |
commit | df76e4417daada4f22cc2ab255dfa378a08a1321 (patch) | |
tree | 1eda292931529fd5c12a9e0f2c0561be73c87760 | |
parent | ab02284fc295c581fe3e4d480e2d05281598484c (diff) |
Fix ATAV GUI property cleanup
AutomationTimeAxisView::state_id() requires a stripable
(stripable == automatable + parameter OR stripable + control)
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index f65d2282b3..74f4470839 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -313,13 +313,16 @@ AutomationTimeAxisView::AutomationTimeAxisView ( AutomationTimeAxisView::~AutomationTimeAxisView () { - cleanup_gui_properties (); + if (_stripable) { + cleanup_gui_properties (); + } delete _view; } void AutomationTimeAxisView::route_going_away () { + cleanup_gui_properties (); _stripable.reset (); } |