diff --git a/src/lib/history/history.cpp b/src/lib/history/history.cpp --- a/src/lib/history/history.cpp +++ b/src/lib/history/history.cpp @@ -122,7 +122,7 @@ before.title = oldTitle; HistoryEntry after = before; - after.count = count + 1; + after.count = before.count + 1; after.date = QDateTime::currentDateTime(); after.title = title;