[Duplicate Selected Notes] Duplicated note has different note type than source #49
Open
4 tasks done
Labels
bug
Something isn't working
Which add-on is affected?
Duplicate Selected Notes
Prerequisite checklist
What is the problem/feature you would like to see fixed/implemented?
The newly duplicated note should belong to the same note type as the source.
How can we reproduce the problem?
Expected behavior: [ What you expected to happen ]
A duplicate note is created with the same field content, deck and note type.
Actual behavior: [ What actually happened ]
If the last active note type has the same number of fields as the note type of the duplication source, the newly duplicated note receives the last active note type, rather than the note type of the source note.
Consecutive invocations of "Create Duplicate" on notes with varying number of fields causes Anki to crash.
Reproducible?: [ Can you reliably reproduce the issue by following the steps above? ]
Yes.
Version information
Anki
Version 2.1.0beta41
Qt 5.9.2 PyQt 5.9
System
Linux
Ubuntu 18.04
The text was updated successfully, but these errors were encountered: