summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-05 02:18:18 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-05 02:18:18 -0600
commit070a9a4d47f6978cf94d0652c7ecda55486ad93f (patch)
tree636f7b63e303d5093e747c5ff97661de84824db4 /src/mainwindow.cpp
parent3d24650095abdf49ec734b9777443da614b680fa (diff)
Update mod and plugin counters when a mod is removed
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a55c78af..633ceb5f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2552,6 +2552,8 @@ void MainWindow::removeMod_clicked()
} else {
m_OrganizerCore.modList()->removeRow(m_ContextRow, QModelIndex());
}
+ updateModCount();
+ updatePluginCount();
} catch (const std::exception &e) {
reportError(tr("failed to remove mod: %1").arg(e.what()));
}