Commit 18f8c7c0 authored by ics's avatar ics

Correct error from merge ploty2

parent 17d4262f
......@@ -382,8 +382,8 @@ void SampleChangerController::refreshStrName(int32 value) throw (CannotSetValue)
void SampleChangerController::updateOptimizationPlotX(int32 nplot) {
if (scanStr.isAssigned()) {
// optimizationPlotX = scanStr->optimizationPlotX();
optimizationPlotX.update(scanStr->optimizationPlotX());
optimizationPlotX.setSize(scanStr->optimizationPlotX.getSize());
optimizationPlotX.update(scanStr->optimizationPlotX.get(0));
optimizationPlotX.setSize(scanStr->optimizationPlotX.getSize(0));
optimizationPlotX.sendEvent();
}
}
......@@ -408,8 +408,8 @@ void SampleChangerController::updateOptimizationFitPlot(int32 nplot) {
void SampleChangerController::updateOptimizationFitPlotY(int32 nplot) {
if (scanStr.isAssigned()) {
// optimizationFitPlotY = scanStr->optimizationFitPlotY();
optimizationFitPlotY.update(scanStr->optimizationFitPlotY());
optimizationFitPlotY.setSize(scanStr->optimizationFitPlotY.getSize());
optimizationFitPlotY.update(scanStr->optimizationFitPlotY.get(0));
optimizationFitPlotY.setSize(scanStr->optimizationFitPlotY.getSize(0));
optimizationFitPlotY.sendEvent();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment