do not accidentally try to select VCA time axis views for context clicks or other conditional ops

This commit is contained in:
Paul Davis 2016-05-21 16:54:13 -04:00
parent 482873760c
commit 670e79f7d1

View File

@ -828,6 +828,10 @@ TimeAxisView::can_edit_name () const
void void
TimeAxisView::conditionally_add_to_selection () TimeAxisView::conditionally_add_to_selection ()
{ {
if (!selectable()) {
return;
}
Selection& s (_editor.get_selection ()); Selection& s (_editor.get_selection ());
if (!s.selected (this)) { if (!s.selected (this)) {