projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab02284
)
Fix ATAV GUI property cleanup
author
Robin Gareus
<robin@gareus.org>
Tue, 1 Aug 2017 14:32:31 +0000
(16:32 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 1 Aug 2017 14:56:20 +0000
(16:56 +0200)
AutomationTimeAxisView::state_id() requires a stripable
(stripable == automatable + parameter OR stripable + control)
gtk2_ardour/automation_time_axis.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/automation_time_axis.cc
b/gtk2_ardour/automation_time_axis.cc
index f65d2282b3961afdaa4a339063a11752a17e0658..74f4470839be6b6db8643b83ea80d52de837b109 100644
(file)
--- 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 ();
}