summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2015-07-31 14:18:44 +0200
committerTannin <devnull@localhost>2015-07-31 14:18:44 +0200
commit051589c38e4b40749e9f0f38d750f2de0c9954b4 (patch)
tree76b890a3a2c5e3f01e10ba0867816aad33fa2ba9 /src/organizercore.cpp
parent7799c348ba70bc6a6b8cb3a424ec6fcb82071179 (diff)
bugfix: archive list wasn't saved after enabling/disabling a mod.
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 8b2a755d..876fc28a 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1378,6 +1378,9 @@ void OrganizerCore::modStatusChanged(unsigned int index)
FilesOrigin &origin = m_DirectoryStructure->getOriginByName(ToWString(modInfo->name()));
origin.enable(false);
}
+ if (m_UserInterface != nullptr) {
+ m_UserInterface->archivesWriter().write();
+ }
}
modInfo->clearCaches();