summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-08-26 02:15:37 +0200
committerAL <26797547+Al12rs@users.noreply.github.com>2020-08-26 02:15:37 +0200
commitc23ee0b1dcd0cdcc15a881a2a6f45d2675e1c0a9 (patch)
treedf193332286238c22cb28a061c05e69d7b04992a /src/organizercore.cpp
parent6f232d566e9a7b67eae0cef4aaa46938072b3c20 (diff)
Mark downloads of replaced mods as uninstalled
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 1e2a0aa1..d144c185 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -247,6 +247,8 @@ void OrganizerCore::setUserInterface(IUserInterface* ui)
SLOT(modRenamed(QString, QString)));
connect(&m_ModList, SIGNAL(modUninstalled(QString)), w,
SLOT(modRemoved(QString)));
+ connect(&m_InstallationManager, SIGNAL(modReplaced(QString)), w,
+ SLOT(modRemoved(QString)));
connect(&m_ModList, SIGNAL(removeSelectedMods()), w,
SLOT(removeMod_clicked()));
connect(&m_ModList, SIGNAL(clearOverwrite()), w,