Skip to content

ENH: Editor - Ensure a related merge volume is selected after a structure delete

Sam Horvath requested to merge github/fork/rweiss42/label-select-onDelete into master

Created by: rweiss42

After a structure delete (one or all), the slice viewers don't get their label layers updated with any sort of logic, they just select the "next" available label volume (determined I think by the order in which the label volumes were added to the scene).

Adding a call to select() in the delete methods should resolve this issue and will also make sure the Editor is in a good state following the removal of a node from the scene (which is probably a good thing to check for).

@pieper can you take a look?

Merge request reports