mirror of
https://github.com/ankitects/anki.git
synced 2025-11-30 08:27:12 -05:00
Log conflicting note in remapped nt case
This commit is contained in:
parent
a4dfad565d
commit
969484de43
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ impl<'n> NoteContext<'n> {
|
||||||
}
|
}
|
||||||
if let Some(notetype_id) = self.remapped_notetypes.get(¬e.notetype_id) {
|
if let Some(notetype_id) = self.remapped_notetypes.get(¬e.notetype_id) {
|
||||||
if self.target_guids.contains_key(¬e.guid) {
|
if self.target_guids.contains_key(¬e.guid) {
|
||||||
// TODO: Log ignore
|
self.imports.log_conflicting(note);
|
||||||
} else {
|
} else {
|
||||||
note.notetype_id = *notetype_id;
|
note.notetype_id = *notetype_id;
|
||||||
self.add_note(note)?;
|
self.add_note(note)?;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue