diff options
author | Carl Hetherington <carl@carlh.net> | 2011-04-19 10:19:14 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-04-19 10:19:14 +0000 |
commit | 52eced2691c3375e69d7007330e020e9791ae55b (patch) | |
tree | a60acb6b1f22d407dcd93f6bc64a4160b2dea965 /gtk2_ardour/editor_tempodisplay.cc | |
parent | ecd188d5e6c3862484b6fc4992251c976315da8f (diff) |
Remove duplicate call of compute_current_bbt_points which looks like a mis-merge. Update tempo-based rulers on tempo map edit (#3979).
git-svn-id: svn://localhost/ardour2/branches/3.0@9373 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 2e4842016a..1069e457e6 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -113,6 +113,7 @@ Editor::tempo_map_changed (const PropertyChange& /*ignored*/) compute_current_bbt_points(leftmost_frame, leftmost_frame + current_page_frames()); _session->tempo_map().apply_with_metrics (*this, &Editor::draw_metric_marks); // redraw metric markers redraw_measures (); + update_tempo_based_rulers (); } void @@ -124,7 +125,6 @@ Editor::redisplay_tempo (bool immediate_redraw) compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_frames()); // redraw rulers and measures - compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_frames()); if (immediate_redraw) { redraw_measures (); } else { |