Skip to content

Commit ed8fc0a

Browse files
committed
removed reset_choices() statement
1 parent 26a4057 commit ed8fc0a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: src/napari_matplotlib/scatter.py

-4
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,8 @@ def on_update_layers(self) -> None:
217217
"""
218218
Called when the layer selection changes by ``self.update_layers()``.
219219
"""
220-
if hasattr(self, "_key_selection_widget"):
221-
self._key_selection_widget.reset_choices()
222-
223220
# reset the axis keys
224221
self._x_axis_key = None
225-
self._y_axis_key = None
226222

227223
# Clear combobox
228224
for dim in ["x", "y"]:

0 commit comments

Comments
 (0)