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
This commit is contained in:
Joern
2014-07-27 18:53:43 +02:00
parent bd7893ce9c
commit e718f35fa2

View File

@@ -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()));