mirror of
https://github.com/ankitects/anki.git
synced 2025-11-24 05:27:11 -05:00
In the cloze deletion case, we already created a dummy card 0 when no cloze deletions were found. This change makes normal note types behave the same way - if no cards would be generated, a dummy card 0 is added to allow the note to be added. This also applies when modifying note types - it is now possible to delete card templates even if some notes only use that template, as a dummy card 0 will be generated for notes that end up with no cards left. |
||
|---|---|---|
| .. | ||
| ftl | ||
| src | ||
| tests/support | ||
| .gitignore | ||
| build.rs | ||
| Cargo.toml | ||
| Makefile | ||
| README.md | ||
| rust-toolchain | ||
| rustfmt.toml | ||
To build from scratch, please see https://github.com/ankitects/anki