From c2e5084fd5da1f5e26b05156258fb10933c71c24 Mon Sep 17 00:00:00 2001 From: Rob <5183487+Rexeh@users.noreply.github.com> Date: Thu, 29 Feb 2024 15:43:40 +0000 Subject: [PATCH] Fix plugin pages showing execute when path set but not enabled --- joystick_diagrams/ui/plugins_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joystick_diagrams/ui/plugins_page.py b/joystick_diagrams/ui/plugins_page.py index 390dd66..171284a 100644 --- a/joystick_diagrams/ui/plugins_page.py +++ b/joystick_diagrams/ui/plugins_page.py @@ -165,7 +165,7 @@ def update_plugin_count_statistics(self): # Calculate Ready Plugins self.plugins_ready = 0 for plugin in self.get_plugin_data_for_tree(): - if plugin.ready: + if plugin.ready and plugin.enabled: self.plugins_ready = self.plugins_ready + 1 self.statistics_change.emit()