summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 16:28:55 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-02 16:28:55 +0100
commit740c383f632712e378c7cfbafea6414a23f58e09 (patch)
treee5db2fe11a619545290e79da45bf4e6254cee52c /src/organizercore.cpp
parent9ac6e375754eb3ee536539c29f842417d8ddaaf6 (diff)
Add index attribute to ModInfo.
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 6eb81792..bf9308b8 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -690,6 +690,8 @@ MOBase::IModInterface *OrganizerCore::createMod(GuessedValue<QString> &name)
settingsFile.endArray();
}
+ // shouldn't this use the existing mod in case of a merge? also, this does not refresh the indices
+ // in the ModInfo structure
return ModInfo::createFrom(m_PluginContainer, m_GamePlugin, QDir(targetDirectory), &m_DirectoryStructure)
.data();
}