13
0

Don't hide selected control points.

There was already code for this, but actually setting the corresponding
visibility flags seems to have been lost at some point.
This commit is contained in:
David Robillard 2014-11-16 22:46:59 -05:00
parent 563f5c11a6
commit c91b691260

View File

@ -906,6 +906,12 @@ AutomationLine::set_selected_points (PointSelection const & points)
(*i)->set_selected (true); (*i)->set_selected (true);
} }
if (points.empty()) {
remove_visibility (SelectedControlPoints);
} else {
add_visibility (SelectedControlPoints);
}
set_colors (); set_colors ();
} }