diff --git a/Code/Mantid/MantidQt/CustomInterfaces/src/ApplyCorr.cpp b/Code/Mantid/MantidQt/CustomInterfaces/src/ApplyCorr.cpp index a39f96abbe83f1b788f82ba280fd1f00a66348a2..3586c5c5acfe7630554bbe2e350cc08a48d8814e 100644 --- a/Code/Mantid/MantidQt/CustomInterfaces/src/ApplyCorr.cpp +++ b/Code/Mantid/MantidQt/CustomInterfaces/src/ApplyCorr.cpp @@ -88,6 +88,10 @@ namespace IDA uiForm().abscor_ckUseCorrections->setEnabled(!isSqw); + removeCurve("CalcCurve"); + removeCurve("CanCurve"); + // removeCurve would usually need a replot() but this is done in plotMiniPlot() + plotMiniPlot(dataName, 0, "ApplyCorrPlot", "ApplyCorrSampleCurve"); MatrixWorkspace_const_sptr sampleWs = AnalysisDataService::Instance().retrieveWS<const MatrixWorkspace>(dataName.toStdString());