mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
210 stars 122 forks source link

Changing ROI via Preview tab does not reset row state #35565

Closed gemmaguest closed 1 year ago

gemmaguest commented 1 year ago

Describe the bug If you manually edit the ROI in the Experiment Settings tab, any processed runs get their state reset (i.e. reset from green to white). However, if you change the ROI via the Apply button on the Preview tab, the state is not reset.

To Reproduce

Expected behavior The state of any runs that are processed or errored should be reset when the experiment settings are changed.

Platform/Version (please complete the following information):

rbauststfc commented 1 year ago

I think this could be fixed by calling ExperimentPresenter::notifySettingsChanged() from ExperimentPresenter::notifyPreviewApplyRequested().