From d94ba1accbe82fcd12f48bfe0b136ca89e302018 Mon Sep 17 00:00:00 2001
From: Storm Dragon <stormdragon2976@gmail.com>
Date: Sun, 20 Apr 2025 03:13:43 -0400
Subject: [PATCH] Add optional parameter to _on_settings_changed()

---
 src/cthulhu/plugin_system_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cthulhu/plugin_system_manager.py b/src/cthulhu/plugin_system_manager.py
index d6a6b0c..aa143ce 100644
--- a/src/cthulhu/plugin_system_manager.py
+++ b/src/cthulhu/plugin_system_manager.py
@@ -184,7 +184,7 @@ class PluginSystemManager:
                 logger.info(f"Adding binding: {binding.keysymstring} with modifiers {binding.modifiers}")
                 active_script.getKeyBindings().add(binding)
 
-    def _on_settings_changed(self):
+    def _on_settings_changed(self, app=None):
         """Re-register all plugin keybindings when settings change."""
         if not hasattr(self, '_plugin_global_bindings'):
             return