diff options
author | David Robillard <d@drobilla.net> | 2014-11-16 22:46:59 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-16 22:46:59 -0500 |
commit | c91b6912604c82e05c341881da9e871878b343b2 (patch) | |
tree | bb74a50f9b2a87c3a5d1a72a18b598352e25068c /gtk2_ardour/automation_line.cc | |
parent | 563f5c11a61ebae6a988fc703f3d465f3d7cd25a (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.
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 6 |
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 (); } |