diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index 901cd9736..b15c1aae2 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -300,9 +300,7 @@ $editorToolbar.then(({{ toolbar }}) => toolbar.appendGroup({{ def setupShortcuts(self) -> None: # if a third element is provided, enable shortcut even when no field selected - cuts: List[Tuple] = [ - ("Ctrl+Shift+T", self.onFocusTags, True), - ] + cuts: List[Tuple] = [] gui_hooks.editor_did_init_shortcuts(cuts, self) for row in cuts: if len(row) == 2: diff --git a/ts/change-notetype/SaveButton.svelte b/ts/change-notetype/SaveButton.svelte index c3bd7a8f0..78bb22888 100644 --- a/ts/change-notetype/SaveButton.svelte +++ b/ts/change-notetype/SaveButton.svelte @@ -5,6 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - (theTagIcon = addTagIcon)} - on:mouseleave={() => (theTagIcon = tagIcon)}>{@html theTagIcon} + + (theTagIcon = addTagIcon)} + on:mouseleave={() => (theTagIcon = tagIcon)} + on:mount={withSpan(createShortcut)}>{@html theTagIcon} +