summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-22 15:26:51 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-22 15:26:51 -0600
commit5800f2b7b32b564352b029b2f9a5fe27d05ee14c (patch)
tree6da077291aa0d86d37ce857749d0d57e07afdaec /src
parent7fd81029ce2f67aa7a6555858dfed7d6ac58c4e3 (diff)
Use the optimized function that was created
Diffstat (limited to 'src')
-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