diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-21 16:54:13 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-05-31 15:30:44 -0400 |
commit | 670e79f7d1a6a9908e8729af7036907665142eb5 (patch) | |
tree | 2f399b894fce2f072289bc1974c3408c092e95d9 /gtk2_ardour/time_axis_view.cc | |
parent | 482873760c11f4a69a7bcf0e014be91800e97f57 (diff) |
do not accidentally try to select VCA time axis views for context clicks or other conditional ops
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 9420314c94..f61bad80e1 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -828,6 +828,10 @@ TimeAxisView::can_edit_name () const void TimeAxisView::conditionally_add_to_selection () { + if (!selectable()) { + return; + } + Selection& s (_editor.get_selection ()); if (!s.selected (this)) { |