You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing on Anki 25.02 for Windows. Also experienced the behavior on previous versions.
Steps to reproduce:
Load a card in the Reviewer.
Open the Editor (press E or click Edit).
Without closing the Editor, return to the Reviewer.
Continue reviewing cards.
Bring up the Editor again → it correctly updates to show the new card.
Open the Card Layout Editor (Ctrl+L or Cards...).
→ Expected behavior: the Template Editor should load the card type corresponding to the card you "re-opened" the Editor for (e.g., card type 2).
→ Actual Behavior: the Template Editor instead loads the card type corresponding to the first card the Editor was opened for (e.g., card type 4). If the current note type doesn't have that card type number, the Template Editor throws an error and refuses to open.
Traceback (most recent call last):
File "aqt.webview", line 667, in handler
File "aqt.editor", line 647, in <lambda>
File "aqt.editor", line 381, in _onCardLayout
File "aqt.clayout", line 91, in __init__
File "aqt.clayout", line 104, in redraw_everything
File "aqt.clayout", line 111, in update_current_ordinal_and_redraw
File "aqt.clayout", line 486, in fill_fields_from_template
File "aqt.clayout", line 483, in current_template
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
I am testing on Anki 25.02 for Windows. Also experienced the behavior on previous versions.
Steps to reproduce:
E
or clickEdit
).Ctrl+L
orCards...
).→ Expected behavior: the Template Editor should load the card type corresponding to the card you "re-opened" the Editor for (e.g., card type 2).
→ Actual Behavior: the Template Editor instead loads the card type corresponding to the first card the Editor was opened for (e.g., card type 4). If the current note type doesn't have that card type number, the Template Editor throws an error and refuses to open.
The text was updated successfully, but these errors were encountered: