summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-10-25 17:16:04 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2020-10-25 17:16:04 +0100
commit4b8c2b4a3b3f262564775a24a3296d740b97d146 (patch)
treeede879d04e91020ea625d3abbd5457be39d15d0d /src/modlist.cpp
parentd804a5e186b421c75e01338ce9d22601c78bbb38 (diff)
Add missing notifyModRemoved().
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index d72cede9..94c8883d 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -1205,6 +1205,8 @@ void ModList::removeRowForce(int row, const QModelIndex &parent)
m_Profile->refreshModStatus(); // removes the mod from the status list
m_Profile->writeModlist(); // this ensures the modified list gets written back before new mods can be installed
+ notifyModRemoved(modInfo->name());
+
if (wasEnabled) {
emit removeOrigin(modInfo->name());
}