summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a06b206a..a55c78af 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3216,14 +3216,14 @@ void MainWindow::updatePluginCount()
for (QString plugin : list->pluginNames()) {
bool active = list->isEnabled(plugin);
bool visible = m_PluginListSortProxy->filterMatchesPlugin(plugin);
- if (list->isMaster(plugin)) {
- masterCount++;
- activeMasterCount += active;
- activeVisibleCount += visible && active;
- } else if (list->isLight(plugin) || list->isLightFlagged(plugin)) {
+ if (list->isLight(plugin) || list->isLightFlagged(plugin)) {
lightMasterCount++;
activeLightMasterCount += active;
activeVisibleCount += visible && active;
+ } else if (list->isMaster(plugin)) {
+ masterCount++;
+ activeMasterCount += active;
+ activeVisibleCount += visible && active;
} else {
regularCount++;
activeRegularCount += active;