Skip to content

Commit

Permalink
overwrite keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
guiwitz committed Dec 19, 2023
1 parent e2e35db commit 8f9c2a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/napari_convpaint/conv_paint.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ def __init__(self, napari_viewer, parent=None, project=False):
self.add_connections()
self.select_layer()

self.viewer.bind_key('a', self.hide_annotation)
self.viewer.bind_key('r', self.hide_prediction)
self.viewer.bind_key('a', self.hide_annotation, overwrite=True)
self.viewer.bind_key('r', self.hide_prediction, overwrite=True)

def _add_project(self, event=None):
"""Add widget for multi-image project management"""
Expand Down

0 comments on commit 8f9c2a2

Please sign in to comment.