Skip to content

Commit

Permalink
#2859 evernote: fix issue with duplicate imported media files and att…
Browse files Browse the repository at this point in the history
…achments
  • Loading branch information
pbek committed Sep 23, 2023
1 parent 20b2ee3 commit d26696c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# QOwnNotes Changelog

## 23.9.6
- an issue with duplicate imported media files and attachments when importing notes
from Evernote was fixed (for [#2859](https://github.com/pbek/QOwnNotes/issues/2859))

## 23.9.5
- an issue with importing the content of notes from Evernote with the `evernote-export4`
format was fixed (for [#2856](https://github.com/pbek/QOwnNotes/issues/2856))
Expand Down
2 changes: 2 additions & 0 deletions src/dialogs/evernoteimportdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Note EvernoteImportDialog::parseNote(QXmlStreamReader &xml, bool importMetaData)
QString content;
QStringList tagNames;
_metaDataTableText.clear();
_mediaFileDataHash.clear();
_attachmentFileDataHash.clear();

xml.readNext();

Expand Down

0 comments on commit d26696c

Please sign in to comment.