diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-01-22 15:26:51 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-01-22 15:26:51 -0600 |
| commit | 5800f2b7b32b564352b029b2f9a5fe27d05ee14c (patch) | |
| tree | 6da077291aa0d86d37ce857749d0d57e07afdaec /src | |
| parent | 7fd81029ce2f67aa7a6555858dfed7d6ac58c4e3 (diff) | |
Use the optimized function that was created
Diffstat (limited to 'src')
| -rw-r--r-- | src/organizercore.cpp | 4 |
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
|
