anki-custom-shortcuts icon indicating copy to clipboard operation
anki-custom-shortcuts copied to clipboard

Error when using custom shortcut for "editor: focus tag"

Open ramuench opened this issue 2 years ago • 2 comments

I set a custom shortcut for "editor: focus tag" When I use it I get the following error:

Debug info: Anki 2.1.61 (0c1eaf4c) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0 Platform: Windows-10-10.0.22000 Flags: frz=True ao=True sv=2 Add-ons, last update check: 2023-04-22 13:08:20

Caught exception: Traceback (most recent call last): File "aqt.editor", line 704, in onFocusTags AttributeError: 'Editor' object has no attribute 'tags'

All other addons are disabled. The shortcut I set is not enabled for any other actions.

Thank you for the helpful addon. It is an essential for me.

ramuench avatar Apr 22 '23 11:04 ramuench

Getting the same error. editor.py in the Anki code base is where the tags attribute would be defined, but I'm not familiar enough to know what to look for in order to fix this.

gavinhughes avatar Jul 06 '23 22:07 gavinhughes

It seems that there's a shortcut now by default : ctrl+shift+t

tested on anki 24.04

related #189

thiswillbeyourgithub avatar Apr 03 '24 08:04 thiswillbeyourgithub