From 1b55efe1442b8cf9d6b7707ed67cde06c7b2c1df Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 01:26:43 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- napari_plugin_manager/qt_plugin_dialog.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/napari_plugin_manager/qt_plugin_dialog.py b/napari_plugin_manager/qt_plugin_dialog.py index bf3a2e8..9bc2c5e 100644 --- a/napari_plugin_manager/qt_plugin_dialog.py +++ b/napari_plugin_manager/qt_plugin_dialog.py @@ -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)