summaryrefslogtreecommitdiff
path: root/gr-radio-astronomy/src
diff options
context:
space:
mode:
Diffstat (limited to 'gr-radio-astronomy/src')
-rwxr-xr-xgr-radio-astronomy/src/python/ra_fftsink.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-radio-astronomy/src/python/ra_fftsink.py b/gr-radio-astronomy/src/python/ra_fftsink.py
index 8718a8f67..4733027c1 100755
--- a/gr-radio-astronomy/src/python/ra_fftsink.py
+++ b/gr-radio-astronomy/src/python/ra_fftsink.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2003,2004,2005,2007,2010 Free Software Foundation, Inc.
+# Copyright 2003,2004,2005,2007 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -82,7 +82,7 @@ class ra_fft_sink_base(object):
self.peak_hold = enable
if enable:
self.set_average(False)
- self.set_peak_hold(enable)
+ self.win.set_peak_hold(enable)
def set_autoscale(self, auto):
self.autoscale = auto