diff options
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r-- | gtk2_ardour/rhythm_ferret.cc | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc index 83852b33b3..63440e7ab1 100644 --- a/gtk2_ardour/rhythm_ferret.cc +++ b/gtk2_ardour/rhythm_ferret.cc @@ -191,7 +191,7 @@ RhythmFerret::run_analysis () } for (RegionSelection::iterator i = regions.begin(); i != regions.end(); ++i) { - (*i)->get_time_axis_view().show_temporary_lines (current_results); + (*i)->get_time_axis_view().show_feature_lines (current_results); } } @@ -269,7 +269,7 @@ RhythmFerret::do_split_action () tmp = i; ++tmp; - (*i)->get_time_axis_view().hide_temporary_lines (); + (*i)->get_time_axis_view().hide_feature_lines (); editor.split_region_at_points ((*i)->region(), current_results, false); @@ -286,3 +286,16 @@ RhythmFerret::set_session (Session* s) ArdourDialog::set_session (s); current_results.clear (); } + +static void hide_time_axis_features (TimeAxisView& tav) +{ + tav.hide_feature_lines (); +} + +void +RhythmFerret::on_hide () +{ + editor.foreach_time_axis_view (sigc::ptr_fun (hide_time_axis_features)); + ArdourDialog::on_hide (); +} + |