medInria / medInria-public

Open-source part of the medInria software
https://med.inria.fr/
BSD 4-Clause "Original" or "Old" License
92 stars 72 forks source link

[PolygonRoi] clear deactivating the tlbx #1196

Closed mathildemerle closed 6 months ago

mathildemerle commented 9 months ago

From PR https://github.com/Inria-Asclepios/medInria-public/pull/812

If you open the polygonROI toolbox, add a data, draw something, then click on the button to deactivate the toolbox, the ROI is still displayed, even if you change the slice, even if you switch to another toolbox. This PR clears properly the toolbox/view if we deactivate it.

:m: