Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 16, 2024
1 parent 452a538 commit 1b55efe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions napari_plugin_manager/qt_plugin_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,9 +948,7 @@ def _setup_shortcuts(self):
self._quit_action.triggered.connect(self._quit)
self.addAction(self._quit_action)

self._close_shortcut = QShortcut(
QKeySequence('Ctrl+W'), self
)
self._close_shortcut = QShortcut(QKeySequence('Ctrl+W'), self)
self._close_shortcut.activated.connect(self.close)
get_settings().appearance.events.theme.connect(self._update_theme)

Expand Down

0 comments on commit 1b55efe

Please sign in to comment.