summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 851900a0..a2afb8a0 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3775,7 +3775,7 @@ void MainWindow::moveOverwriteContentToExistingMod()
QString modAbsolutePath;
- for (const auto& mod : m_OrganizerCore.modsSortedByProfilePriority()) {
+ for (const auto& mod : m_OrganizerCore.modsSortedByProfilePriority(m_OrganizerCore.currentProfile())) {
if (result.compare(mod) == 0) {
ModInfo::Ptr modInfo = ModInfo::getByIndex(ModInfo::getIndex(mod));
modAbsolutePath = modInfo->absolutePath();
@@ -6549,7 +6549,7 @@ void MainWindow::sendSelectedModsToSeparator_clicked()
int newPriority = INT_MAX;
bool foundSection = false;
- for (auto mod : m_OrganizerCore.modsSortedByProfilePriority()) {
+ for (auto mod : m_OrganizerCore.modsSortedByProfilePriority(m_OrganizerCore.currentProfile())) {
unsigned int modIndex = ModInfo::getIndex(mod);
ModInfo::Ptr modInfo = ModInfo::getByIndex(modIndex);
if (!foundSection && result.compare(mod) == 0) {