Describe the bug
When changing the intensity of a cut to GDOS, an empty line is inserted into the MDHisto tab. Deleting all items from the MDHisto tab then leads to a Mantid crash.
To Reproduce
Steps to reproduce the behavior:
Load a workspace into MSlice
Do a cut
Converted a cut into a GDOS on MSlice
Observe empty line in MDHisto
Select all workspaces in MDHisto and click the Delete button
Mantid error
Expected behavior
When converting a cut to GDOS, the corresponding workspace in MDHisto should be updated. There should be no empty lines added to the MDHisto tab.
MSlice Version (please complete the following information):
Describe the bug When changing the intensity of a cut to GDOS, an empty line is inserted into the MDHisto tab. Deleting all items from the MDHisto tab then leads to a Mantid crash.
To Reproduce Steps to reproduce the behavior:
Expected behavior When converting a cut to GDOS, the corresponding workspace in MDHisto should be updated. There should be no empty lines added to the MDHisto tab.
MSlice Version (please complete the following information):
Additional context This problem occurred after a fix for https://github.com/mantidproject/mslice/issues/972.