royerlab / napari-segment-anything

Segment Anything Model (SAM) native Qt UI
Apache License 2.0
190 stars 17 forks source link

overwrite existing key bindings #23

Open jo-mueller opened 10 months ago

jo-mueller commented 10 months ago

Fixes #22

This PR adds an overwrite=True flag to the key binding. Since the key bindings are registered with the viewer, this error shows only upon closing/reopening the plugin.

JoOkuma commented 10 months ago

Hi @jo-mueller, thanks a lot for the PR.

Once the tests pass, I'll merge it.