From 070a9a4d47f6978cf94d0652c7ecda55486ad93f Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Sat, 5 Jan 2019 02:18:18 -0600 Subject: Update mod and plugin counters when a mod is removed --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.cpp') 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())); } -- cgit v1.3.1