Repair UUID of inconsistent history items.

Closes #130
This commit is contained in:
Florian Geyer committed 2016-08-03 23:48:40 +02:00
1 parent cd1192b409
commit 8d16522d39
5 files changed
+53 -1

No files matched your search

-1
View File
@@ -372,7 +372,6 @@ const QList<Entry*>& Entry::historyItems() const
void Entry::addHistoryItem(Entry* entry)
{
Q_ASSERT(!entry->parent());
Q_ASSERT(entry->uuid() == uuid());
m_history.append(entry);
Q_EMIT modified();