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):