Bug description:
Renaming a image layer does not change the available check boxes. Thus, the check boxes are no longer in sync with the layers and selection does no longer work.
Expected behavior:
Renaming a image layer should trigger an update in the LayerSelector class to keep the layers and check boxes in sync.
To reproduce:
Start the viewer and load the widgets and an image.
Rename the layer
Possible solution:
Connect the viewer.layers.events.changed event to an method updating the box texts.
Bug description: Renaming a image layer does not change the available check boxes. Thus, the check boxes are no longer in sync with the layers and selection does no longer work.
Expected behavior: Renaming a image layer should trigger an update in the LayerSelector class to keep the layers and check boxes in sync.
To reproduce:
Possible solution: Connect the
viewer.layers.events.changed
event to an method updating the box texts.