summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-06-04 18:52:57 +0200
committerRobin Gareus <robin@gareus.org>2016-06-04 18:52:57 +0200
commite627a9681af84680d3d5c174128469a0abb255c9 (patch)
treede2b3014c6c22a21d2b22900f4d00420a98569c7 /gtk2_ardour/route_time_axis.cc
parent3f336f2021a6720e0d8c58a0e5af3e226354fc20 (diff)
show existing automation lanes regardless if they were visible before.
Automation can be recorded with the automation time axis not being visible.
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index b0e3be5abc..78a77fe727 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -2075,7 +2075,7 @@ RouteTimeAxisView::show_existing_automation (bool apply_to_selection)
for (list<ProcessorAutomationInfo*>::iterator i = processor_automation.begin(); i != processor_automation.end(); ++i) {
for (vector<ProcessorAutomationNode*>::iterator ii = (*i)->lines.begin(); ii != (*i)->lines.end(); ++ii) {
- if ((*ii)->view != 0 && (*i)->processor->control((*ii)->what)->list()->size() > 0) {
+ if ((*i)->processor->control((*ii)->what)->list()->size() > 0) {
(*ii)->menu_item->set_active (true);
}
}