do not accidentally try to select VCA time axis views for context clicks or other...
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 21 May 2016 20:54:13 +0000 (16:54 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:44 +0000 (15:30 -0400)
gtk2_ardour/time_axis_view.cc

index 9420314c943c49e61261b89611cd519ba4bad4bd..f61bad80e1e30009eac93c293f1e667cc00bdd4c 100644 (file)
@@ -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)) {