mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-06 22:19:00 -04:00
Write history only for entries that are not history items.
This commit is contained in:
parent
7063f5296a
commit
67bf8e7b2a
1 changed files with 4 additions and 1 deletions
|
@ -362,7 +362,10 @@ void KeePass2XmlWriter::writeEntry(const Entry* entry)
|
||||||
}
|
}
|
||||||
|
|
||||||
writeAutoType(entry);
|
writeAutoType(entry);
|
||||||
writeEntryHistory(entry);
|
// write history only for entries that are not history items
|
||||||
|
if (entry->parent()) {
|
||||||
|
writeEntryHistory(entry);
|
||||||
|
}
|
||||||
|
|
||||||
m_xml.writeEndElement();
|
m_xml.writeEndElement();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue