Skip to content

Commit

Permalink
removed reset_choices() statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-mueller committed Jun 30, 2023
1 parent 26a4057 commit ed8fc0a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/napari_matplotlib/scatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,8 @@ def on_update_layers(self) -> None:
"""
Called when the layer selection changes by ``self.update_layers()``.
"""
if hasattr(self, "_key_selection_widget"):
self._key_selection_widget.reset_choices()

# reset the axis keys
self._x_axis_key = None
self._y_axis_key = None

# Clear combobox
for dim in ["x", "y"]:
Expand Down

0 comments on commit ed8fc0a

Please sign in to comment.