summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2020-01-14 20:18:31 -0600
committerSilarn <jrim@rimpo.org>2020-01-14 20:19:42 -0600
commit0c2289b6f93bf34fcc28a720587276dfbedd0e85 (patch)
treedb87120942042bea405bfd6146ca25fdcea28930 /src/organizercore.cpp
parent3fb21b74a9c937f242e6d34105a1b41648cfac7f (diff)
modsSortedByProfilePriority should return the internal name of the mod
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index df505202..336be37d 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -940,7 +940,7 @@ QStringList OrganizerCore::modsSortedByProfilePriority() const
auto modInfo = ModInfo::getByIndex(modIndex);
if (!modInfo->hasFlag(ModInfo::FLAG_OVERWRITE) &&
!modInfo->hasFlag(ModInfo::FLAG_BACKUP)) {
- res.push_back(ModInfo::getByIndex(modIndex)->name());
+ res.push_back(ModInfo::getByIndex(modIndex)->internalName());
}
}
return res;