Describe the bug
After deleting a workspace from the MDHisto tab while the corresponding plot window is still open, a change to the intensity causes a crash as the underlying workspace is not available anymore.
To Reproduce
Steps to reproduce the behavior:
Load a workspace into MSlice
Do a cut
Select the corresponding workspace in MDHisto and click the Delete button
Change the intensity in the plot window
Mantid error
Expected behavior
The plot window should get closed when the workspace is deleted in the MDHisto tab.
Describe the bug After deleting a workspace from the MDHisto tab while the corresponding plot window is still open, a change to the intensity causes a crash as the underlying workspace is not available anymore.
To Reproduce Steps to reproduce the behavior:
Expected behavior The plot window should get closed when the workspace is deleted in the MDHisto tab.