Add type to add_preview_shortcut
This commit is contained in:
parent
fb8a2f4dc8
commit
5702b3c273
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user