From e718f35fa2d09c8fba8189c7f0f9f3bc568fe1d9 Mon Sep 17 00:00:00 2001 From: Joern Date: Sun, 27 Jul 2014 18:53:43 +0200 Subject: [PATCH] Histogram - parameter changes ... changes in some of the parameter do not take immediate effect on change, some do - adjusted to unique handling of config. changes --- src/HistogramWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HistogramWindow.cpp b/src/HistogramWindow.cpp index ebf3b7e13..2b6dc7a81 100644 --- a/src/HistogramWindow.cpp +++ b/src/HistogramWindow.cpp @@ -305,7 +305,7 @@ HistogramWindow::HistogramWindow(Context *context, bool rangemode) : GcChartWind } // if any of the controls change we pass the chart everything - connect(showLnY, SIGNAL(stateChanged(int)), this, SLOT(updateChart())); + connect(showLnY, SIGNAL(stateChanged(int)), this, SLOT(forceReplot())); connect(showZeroes, SIGNAL(stateChanged(int)), this, SLOT(forceReplot())); connect(seriesCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(seriesChanged())); connect(showInCPZones, SIGNAL(stateChanged(int)), this, SLOT(setCPZoned(int))); @@ -313,8 +313,8 @@ HistogramWindow::HistogramWindow(Context *context, bool rangemode) : GcChartWind connect(showInZones, SIGNAL(stateChanged(int)), this, SLOT(setZoned(int))); connect(showInZones, SIGNAL(stateChanged(int)), this, SLOT(forceReplot())); connect(shadeZones, SIGNAL(stateChanged(int)), this, SLOT(setShade(int))); - connect(shadeZones, SIGNAL(stateChanged(int)), this, SLOT(updateChart())); - connect(showSumY, SIGNAL(currentIndexChanged(int)), this, SLOT(updateChart())); + connect(shadeZones, SIGNAL(stateChanged(int)), this, SLOT(forceReplot())); + connect(showSumY, SIGNAL(currentIndexChanged(int)), this, SLOT(forceReplot())); connect(context->athlete, SIGNAL(zonesChanged()), this, SLOT(zonesChanged())); connect(context, SIGNAL(configChanged()), this, SLOT(configChanged()));