Describe the bug
When changing the selected atlas using the UI, the reference image of the old atlas is replaced with the new one, however the annotations layer of the old atlas remains.
To Reproduce
Have at least two atlases, open the plugin and select the first atlas, then change the selection to the other atlas.
Expected behaviour
Both the reference and atlas image of the old atlas are replaced with the new one
Describe the bug When changing the selected atlas using the UI, the reference image of the old atlas is replaced with the new one, however the annotations layer of the old atlas remains.
To Reproduce Have at least two atlases, open the plugin and select the first atlas, then change the selection to the other atlas.
Expected behaviour Both the reference and atlas image of the old atlas are replaced with the new one