summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-06-18 16:19:12 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-06-18 16:19:12 +0000
commit7e551db0d73769551ae86ef099fe7bf6ddc73943 (patch)
tree7f62d2cda4b18691507243ab8b03ef7f0cb8ae52 /gtk2_ardour/mixer_strip.cc
parent6f7d8728c82d8f311e2e67521d63e67b2147c5e9 (diff)
patch from colinf for #2304 to reset meter peaks when meter point is reset. Note: this does not fix the same issue in editor track meters, but these have no edit point control, so ...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3474 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r--gtk2_ardour/mixer_strip.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 9998bb8994..c0e35ae30a 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -1228,6 +1228,8 @@ MixerStrip::meter_changed (void *src)
}
gpm.setup_meters ();
+ // reset peak when meter point changes
+ gpm.reset_peak_display();
set_width(_width, this);
}