Possible fix for repeating changelogs
This commit is contained in:
parent
9ae74cb91f
commit
1434d2f119
1 changed files with 3 additions and 1 deletions
|
|
@ -175,7 +175,9 @@ std::unique_ptr<Changelogs> Changelogs::Create(
|
|||
const auto oldVersion = local.oldVersion();
|
||||
const auto oldKotatoVersion = Local::oldKotatoVersion();
|
||||
local.clearOldVersion();
|
||||
return (!cKotatoFirstRun() && oldKotatoVersion < AppKotatoVersion)
|
||||
return (!cKotatoFirstRun()
|
||||
&& oldVersion != 0
|
||||
&& oldKotatoVersion < AppKotatoVersion)
|
||||
? std::make_unique<Changelogs>(session, oldVersion, oldKotatoVersion)
|
||||
: nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue