Skip to content
Snippets Groups Projects
Commit e92ca5c9 authored by Dan Nixon's avatar Dan Nixon
Browse files

Remove calc and can plots when loading new data

Refs #10368
parent 25d19222
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment