add Group::clear(), do not clear _canvas member of Item when unparented (only the...
[ardour.git] / gtk2_ardour / editor.cc
index 96edd51af6fd284ba3574195ff77117633e528a5..d458b41b840505249265d110080e810839e99387 100644 (file)
@@ -3725,8 +3725,14 @@ Editor::set_show_measures (bool yn)
                        if (tempo_lines) {
                                tempo_lines->show();
                        }
-                       (void) redraw_measures ();
+
+                       ARDOUR::TempoMap::BBTPointList::const_iterator begin;
+                       ARDOUR::TempoMap::BBTPointList::const_iterator end;
+                       
+                       compute_current_bbt_points (leftmost_frame, leftmost_frame + current_page_samples(), begin, end);
+                       draw_measures (begin, end);
                }
+
                instant_save ();
        }
 }