Restore to default is off by one

Steps to reproduce:

  1. Go to manage note types and add the four “Basic …” note types.
  2. Click on “Cards” for each one of them.
  3. From the “Options” button in the corner, select “Restore to Default…”

Expected behavior

Nothing happens since we didn’t modify the templates. If we did, it should “undo” our changes.

Actual behavior

The templates change as follows
“Basic (type in the answer)” → “Basic (optional reversed card)” → “Basic (and reversed card)” → “Basic” → “Basic”.

Remarks

  • The names are not changed.
  • Clicking “Restore to Default…” more than once has no effect.
3 Likes

Logged on notetype.config.original_stock_kind is set incorrectly due to OriginalStockKind/StockKind · Issue #4353 · ankitects/anki · GitHub

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.