diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-06-09 15:53:26 +0200 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-06-09 15:53:26 +0200 |
| commit | d164c179588c6e352515afeeac2b02a89d3059e4 (patch) | |
| tree | 4672e28e2ff18c2a2b48d0800a94759e8c098fba /src/mainwindow.cpp | |
| parent | b548fd37e4da5b5f91638f2a004d918911308f90 (diff) | |
Fix consecutive mod update checks checking some mods again..
by correctly setting the last nexus update timestamp on a missed case.
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 5dcfea1d..a9921d76 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -5644,9 +5644,10 @@ void MainWindow::nxmModInfoAvailable(QString gameName, int modID, QVariant userD // with an older version than the main mod version. if (mod->getNexusFileStatus() != 3 && mod->getNexusFileStatus() != 5) { mod->setNewestVersion(result["version"].toString()); - mod->setLastNexusUpdate(QDateTime::currentDateTimeUtc()); foundUpdate = true; } + // update the LastNexusUpdate time in any case since we did perform the check. + mod->setLastNexusUpdate(QDateTime::currentDateTimeUtc()); } mod->setNexusDescription(result["description"].toString()); if ((mod->endorsedState() != ModInfo::ENDORSED_NEVER) && (result.contains("endorsement"))) { |
