summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-16 22:46:59 -0500
committerDavid Robillard <d@drobilla.net>2014-11-16 22:46:59 -0500
commitc91b6912604c82e05c341881da9e871878b343b2 (patch)
treebb74a50f9b2a87c3a5d1a72a18b598352e25068c
parent563f5c11a61ebae6a988fc703f3d465f3d7cd25a (diff)
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.
-rw-r--r--gtk2_ardour/automation_line.cc6
1 files changed, 6 insertions, 0 deletions
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 ();
}