summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 39a312da4b..724809d446 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -889,6 +889,19 @@ AutomationTimeAxisView::add_line (boost::shared_ptr<AutomationLine> line)
line->add_visibility (AutomationLine::Line);
}
+bool
+AutomationTimeAxisView::propagate_time_selection () const
+{
+ /* MIDI automation is part of the MIDI region. It is always
+ * implicily selected with the parent, regardless of TAV selection
+ */
+ if (_parameter.type() >= MidiCCAutomation &&
+ _parameter.type() <= MidiChannelPressureAutomation) {
+ return true;
+ }
+ return false;
+}
+
void
AutomationTimeAxisView::entered()
{