summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 90e5a423..f4aa5beb 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1893,9 +1893,7 @@ void OrganizerCore::updateModsInDirectoryStructure(QMap<unsigned int, ModInfo::P
// activate all esps of the specified mod so the bsas get activated along with
// it
m_PluginList.blockSignals(true);
- for (auto idx : modInfo.keys()) {
- updateModActiveState(idx, true);
- }
+ updateModsActiveState(modInfo.keys(), true);
m_PluginList.blockSignals(false);
// now we need to refresh the bsa list and save it so there is no confusion
// about what archives are avaiable and active