It should not be possible to create ROIs with duplicate names. IMAT have found a case where duplicates do happen, which then cause further issues.
Steps To Reproduce
Open an imagestack in the spectrum viewer.
Create some ROIs
Open the Operations window
Apply an operation to the image stack (e.g. Gaussian)
Back in the spectum view add some more ROIs
Expected Behaviour
Image in spectrum viewer is updated by operation (e.g. it is blured)
Names for new ROIs are still unique
Summary
It should not be possible to create ROIs with duplicate names. IMAT have found a case where duplicates do happen, which then cause further issues.
Steps To Reproduce
Open an imagestack in the spectrum viewer. Create some ROIs Open the Operations window Apply an operation to the image stack (e.g. Gaussian) Back in the spectum view add some more ROIs
Expected Behaviour
Image in spectrum viewer is updated by operation (e.g. it is blured) Names for new ROIs are still unique
Current Behaviour
Naming resets, and duplicate names are created.
Context
Current main