Chris-N-K / napari-time-series-plotter

A napari Plugin for visualisaton of pixel values over time (t+ nD) as graphs.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Renaming a layer doesn't initiate LayerSelector update #3

Closed Chris-N-K closed 2 years ago

Chris-N-K commented 2 years ago

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.