summaryrefslogtreecommitdiff
path: root/gr-wxgui/src/python/fftsink2.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/src/python/fftsink2.py')
-rwxr-xr-xgr-wxgui/src/python/fftsink2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/fftsink2.py b/gr-wxgui/src/python/fftsink2.py
index 52b898a5d..8e07dda41 100755
--- a/gr-wxgui/src/python/fftsink2.py
+++ b/gr-wxgui/src/python/fftsink2.py
@@ -256,6 +256,8 @@ class fft_window (plot.PlotCanvas):
self._format = "%3.3f"
def set_baseband_freq(self, baseband_freq):
+ if self.peak_hold:
+ self.peak_vals = None
self.set_scale(baseband_freq)
self.fftsink.set_baseband_freq(baseband_freq)