diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-05 14:33:06 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-05 14:40:49 -0500 |
commit | 6605b2a5427ce97ae69c10f9a885172add128a5e (patch) | |
tree | 4a440ee9dcecce4ff3f540b4991500bc3416b5bd /gtk2_ardour | |
parent | 142439b9a847a15911be200e657eec0222aba2a7 (diff) |
when an automation/region gain line is hidden, so are its points
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index fd0dd0bc10..7e37c32eb7 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -171,6 +171,9 @@ AutomationLine::update_visibility () } else { line->hide (); + for (vector<ControlPoint*>::iterator i = control_points.begin(); i != control_points.end(); ++i) { + (*i)->hide (); + } } } |