Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
multimeric committed Oct 18, 2024
1 parent 69c68cb commit e9472f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/napari_lattice/shape_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _widget_changed(self, values: list) -> None:
with self._block() as execute:
if not execute:
return
layers: dict[Shapes, list[int]] = {layer: [] for layer in get_viewer().layers if isinstance(layer, Shapes)}
layers: dict[Shapes, list[int]] = {layer: [] for layer in viewer.layers if isinstance(layer, Shapes)}
value: Shape

# Find the current selection for each layer
Expand Down

0 comments on commit e9472f1

Please sign in to comment.