diff --git a/nukeserversocket/controllers/nuke_script_editor.py b/nukeserversocket/controllers/nuke_script_editor.py index 9ab3b1f8..0275e1ad 100644 --- a/nukeserversocket/controllers/nuke_script_editor.py +++ b/nukeserversocket/controllers/nuke_script_editor.py @@ -189,7 +189,7 @@ def _find_run_button(self): # type: (str) -> QPushButton | None """ # TODO: if fail tooltip search for list position for button in self._find_script_editor().findChildren(QPushButton): - if button.toolTip() == 'Run the current script': + if button.toolTip().startswith('Run the current script'): return button # XXX: can the button not be found?