Liresol / anki-custom-shortcuts

Custom Keyboard Shortcuts for Anki 2.1
MIT License
60 stars 14 forks source link

"Jump to tags" error #189

Open HarryLang100 opened 1 year ago

HarryLang100 commented 1 year ago

Hello. By default, in the card editor, the shortcut to "jump to tags" is ctrl + shift + t. This is also the default shortcut in this add-on. However, when the add-on is enabled, the shortcut does not work. Instead, this error occurs

Error 
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. 
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem. 
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site. 
Debug info:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-09-19 10:32:57

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

Any help would be appreciated :)

thiswillbeyourgithub commented 5 months ago

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

tested on 24.04