From c91b6912604c82e05c341881da9e871878b343b2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Nov 2014 22:46:59 -0500 Subject: 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. --- gtk2_ardour/automation_line.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index b7c39f888f..12ca73ca95 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -906,6 +906,12 @@ AutomationLine::set_selected_points (PointSelection const & points) (*i)->set_selected (true); } + if (points.empty()) { + remove_visibility (SelectedControlPoints); + } else { + add_visibility (SelectedControlPoints); + } + set_colors (); } -- cgit v1.2.3