summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/FrequencyDisplayPlot.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/FrequencyDisplayPlot.cc')
-rw-r--r--gr-qtgui/lib/FrequencyDisplayPlot.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-qtgui/lib/FrequencyDisplayPlot.cc b/gr-qtgui/lib/FrequencyDisplayPlot.cc
index f5e02aca83..349ce8e1a0 100644
--- a/gr-qtgui/lib/FrequencyDisplayPlot.cc
+++ b/gr-qtgui/lib/FrequencyDisplayPlot.cc
@@ -218,8 +218,10 @@ FrequencyDisplayPlot::FrequencyDisplayPlot(int nplots, QWidget* parent)
QWidget *w;
w = legend()->find(d_min_fft_plot_curve);
((QwtLegendItem*)w)->setChecked(true);
+ ((QwtLegendItem*)w)->setVisible(false);
w = legend()->find(d_max_fft_plot_curve);
((QwtLegendItem*)w)->setChecked(true);
+ ((QwtLegendItem*)w)->setVisible(false);
legend()->setVisible(false);
#else /* QWT_VERSION < 0x060100 */
QWidget *w;