diff --git a/src/plotcontrolpanel.cpp b/src/plotcontrolpanel.cpp --- a/src/plotcontrolpanel.cpp +++ b/src/plotcontrolpanel.cpp @@ -100,7 +100,6 @@ void PlotControlPanel::onAutoScaleChecke { if (checked) { - // ui->plot->setAxis(true); ui->lYmin->setEnabled(false); ui->lYmax->setEnabled(false); ui->spYmin->setEnabled(false); @@ -115,7 +114,6 @@ void PlotControlPanel::onAutoScaleChecke ui->spYmin->setEnabled(true); ui->spYmax->setEnabled(true); - // ui->plot->setAxis(false, ui->spYmin->value(), ui->spYmax->value()); emit scaleChanged(false, ui->spYmin->value(), ui->spYmax->value()); } }