Fixed invalid number of parameters passed to signal handler.

This commit is contained in:
Storm Dragon 2025-04-05 16:03:02 -04:00
parent c03812eb05
commit 751bc7c2c5

View File

@ -103,8 +103,7 @@ class APIHelper:
# Register for script change notifications # Register for script change notifications
self.app.getSignalManager().connectSignal( self.app.getSignalManager().connectSignal(
'active-script-changed', 'active-script-changed',
self._handleScriptChanged, self._handleScriptChanged
'default'
) )
def _handleScriptChanged(self, script): def _handleScriptChanged(self, script):