AllPlot: show balance in stack view only if checked

This commit is contained in:
Damien
2014-10-10 16:41:10 +02:00
parent 4906783478
commit dc56efd4bd

View File

@@ -3021,6 +3021,7 @@ AllPlotWindow::setupStackPlots()
_allPlot->setPaintBrush(paintBrush->checkState());
_allPlot->setSmoothing(smoothSlider->value());
_allPlot->setByDistance(comboDistance->currentIndex());
_allPlot->setShowBalance((showBalance->isEnabled()) ? ( showBalance->checkState() == Qt::Checked ) : false );
_allPlot->replot();
}