mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Fix total note count not being logged in apkg import
https://forums.ankiweb.net/t/2-1-65-conflicting-import-message-when-importing-decks-with-v1-scheduler/31352/3
This commit is contained in:
parent
ba6325b47f
commit
7619891d4f
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ impl<'n> NoteContext<'n> {
|
|||
progress: &mut ThrottlingProgressHandler<ImportProgress>,
|
||||
) -> Result<()> {
|
||||
let mut incrementor = progress.incrementor(ImportProgress::Notes);
|
||||
|
||||
self.imports.log.found_notes = notes.len() as u32;
|
||||
for mut note in notes {
|
||||
incrementor.increment()?;
|
||||
let remapped_notetype_id = self.remapped_notetypes.get(¬e.notetype_id);
|
||||
|
|
Loading…
Reference in a new issue