summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index c8056140..4191e2db 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -1236,8 +1236,8 @@ void ModList::removeRowForce(int row, const QModelIndex &parent)
m_Profile->cancelModlistWrite();
beginRemoveRows(parent, row, row);
ModInfo::removeMod(row);
- endRemoveRows();
m_Profile->refreshModStatus(); // removes the mod from the status list
+ endRemoveRows();
m_Profile->writeModlist(); // this ensures the modified list gets written back before new mods can be installed
notifyModRemoved(modInfo->name());