summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-30 16:58:53 +0200
committerRobin Gareus <robin@gareus.org>2015-04-30 17:30:10 +0200
commitaf884b41747ab959624ab85cff1da6963bf27bba (patch)
tree1ee9260c68c37e92b4ae1df9d7d691e214e1ab8f /gtk2_ardour/route_time_axis.cc
parente0747bdb79a565978c4ae1341149a885bff58054 (diff)
meter-change: don’t update track-headers if not needed
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index bc7bccc3ea..ebbaf88338 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -2577,7 +2577,7 @@ RouteTimeAxisView::meter_changed ()
{
ENSURE_GUI_THREAD (*this, &RouteTimeAxisView::meter_changed)
reset_meter();
- if (_route && !no_redraw) {
+ if (_route && !no_redraw && ARDOUR_UI::config()->get_show_track_meters()) {
request_redraw ();
}
// reset peak when meter point changes