summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2021-02-11 16:29:32 +0100
committerAL <26797547+Al12rs@users.noreply.github.com>2021-02-11 16:29:32 +0100
commit73418ec61646673ffa90a2b5debde4e25e020b4b (patch)
tree01fb89b948b8f33402fec8b31e6bab19102180f4 /src/mainwindow.cpp
parent7d36bc20d0a6c327079141149a7f138c0f7726ac (diff)
Hopefully fix update filter not showing new mod updates.
Notify all the mods that have had their info checked, not just the ones that have been found with an update. This is because Mo2 also shows mods that have had their files deleted or moved to Old as updateAvailable, in which case there is no update but the filter still needs to be notified to include the mod.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 713037e9..762cf02e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2979,9 +2979,7 @@ void MainWindow::nxmModInfoAvailable(QString gameName, int modID, QVariant userD
mod->setNexusLastModified(QDateTime::fromSecsSinceEpoch(result["updated_timestamp"].toInt(), Qt::UTC));
mod->saveMeta();
- if (foundUpdate) {
- m_OrganizerCore.modList()->notifyChange(ModInfo::getIndex(mod->name()));
- }
+ m_OrganizerCore.modList()->notifyChange(ModInfo::getIndex(mod->name()));
}
}