diff --git a/src/modules/sbstudio/plugin/model/storyboard.py b/src/modules/sbstudio/plugin/model/storyboard.py index 29c13af..b98441b 100644 --- a/src/modules/sbstudio/plugin/model/storyboard.py +++ b/src/modules/sbstudio/plugin/model/storyboard.py @@ -80,9 +80,10 @@ def label(self) -> str: return " | ".join(parts) -def _handle_formation_change(operator, context): - if not operator.is_name_customized: - operator.name = operator.formation.name if operator.formation else "" +def _handle_formation_change(self: StoryboardEntry, context: Optional[Context] = None): + if not self.is_name_customized: + self.name = self.formation.name if self.formation else "" + class StoryboardEntry(PropertyGroup):