summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/DisplayPlot.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/DisplayPlot.cc')
-rw-r--r--gr-qtgui/lib/DisplayPlot.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gr-qtgui/lib/DisplayPlot.cc b/gr-qtgui/lib/DisplayPlot.cc
index dcf5461d25..30fd837772 100644
--- a/gr-qtgui/lib/DisplayPlot.cc
+++ b/gr-qtgui/lib/DisplayPlot.cc
@@ -102,6 +102,12 @@ DisplayPlot::~DisplayPlot()
// d_zoomer and d_panner deleted when parent deleted
}
+void
+DisplayPlot::disableLegend()
+{
+ // Haven't found a good way to toggle it on/off
+ insertLegend(NULL);
+}
void
DisplayPlot::setYaxis(double min, double max)