summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/constellationdisplayform.cc
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-02-28 14:38:40 -0500
committerTom Rondeau <trondeau@vt.edu>2013-02-28 14:38:40 -0500
commit9f29e51f2945f355b43f3012da43e37dcd95f6b4 (patch)
treebcc71c8975379c107bb6e94da944292a5ee9a03a /gr-qtgui/lib/constellationdisplayform.cc
parent7afefc484137bf0bed7ab9a7ed86017c117d6a35 (diff)
parent2f55d7dfc33e8d990e44c5bbb7c6d2fbdaddd563 (diff)
Merge branch 'next' into perf_monitor
Diffstat (limited to 'gr-qtgui/lib/constellationdisplayform.cc')
-rw-r--r--gr-qtgui/lib/constellationdisplayform.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/gr-qtgui/lib/constellationdisplayform.cc b/gr-qtgui/lib/constellationdisplayform.cc
index 422e48ea87..e3c65ec41d 100644
--- a/gr-qtgui/lib/constellationdisplayform.cc
+++ b/gr-qtgui/lib/constellationdisplayform.cc
@@ -110,13 +110,8 @@ ConstellationDisplayForm::setXaxis(double min, double max)
void
ConstellationDisplayForm::autoScale(bool en)
{
- if(en) {
- _autoscale_state = true;
- }
- else {
- _autoscale_state = false;
- }
-
+ _autoscale_state = en;
+ _autoscale_act->setChecked(en);
getPlot()->setAutoScale(_autoscale_state);
getPlot()->replot();
}