From 9e66f0ac98475446fdb704234e3c6edc39b0021e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 4 Apr 2025 19:47:02 -0400 Subject: [PATCH] Fixed a bug in the api helper. --- src/cthulhu/cthulhu.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cthulhu/cthulhu.py b/src/cthulhu/cthulhu.py index ff9981a..39ff4fc 100644 --- a/src/cthulhu/cthulhu.py +++ b/src/cthulhu/cthulhu.py @@ -102,8 +102,9 @@ class APIHelper: # Register for script change notifications self.app.getSignalManager().connectSignal( - 'active-script-changed', - self._handleScriptChanged + 'active-script-changed', + self._handleScriptChanged, + 'default' ) def _handleScriptChanged(self, script):