From 5702b3c273df2629ff62e35fa778e506c600a11e Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Thu, 15 Apr 2021 15:50:29 +0200 Subject: [PATCH] Add type to add_preview_shortcut --- qt/aqt/browser/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/browser/browser.py b/qt/aqt/browser/browser.py index e78f1a173..c7510fe9b 100644 --- a/qt/aqt/browser/browser.py +++ b/qt/aqt/browser/browser.py @@ -396,7 +396,7 @@ $editorToolbar.addButton({{ """ ) - def add_preview_shortcut(cuts, editor: Editor) -> None: + def add_preview_shortcut(cuts: List[Tuple], editor: Editor) -> None: cuts.append(("Ctrl+Shift+P", self.onTogglePreview, True)) gui_hooks.editor_did_init.append(add_preview_button)