summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index b5a1cb8a..10b6fd8b 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1207,7 +1207,11 @@ QStringList OrganizerCore::modsSortedByProfilePriority() const
i < currentProfile()->getPriorityMinimum() + (int)currentProfile()->numRegularMods();
++i) {
int modIndex = currentProfile()->modIndexByPriority(i);
- res.push_back(ModInfo::getByIndex(modIndex)->name());
+ auto modInfo = ModInfo::getByIndex(modIndex);
+ if (!modInfo->hasFlag(ModInfo::FLAG_OVERWRITE) &&
+ !modInfo->hasFlag(ModInfo::FLAG_BACKUP)) {
+ res.push_back(ModInfo::getByIndex(modIndex)->name());
+ }
}
return res;
}