mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
check for type changes if name is not set
This commit is contained in:
parent
fb09eb8ef7
commit
94dedde1dc
1 changed files with 4 additions and 1 deletions
|
|
@ -1511,7 +1511,10 @@ class TaskItem(BaseItem):
|
|||
|
||||
result = super(TaskItem, self).setData(key, value, role)
|
||||
|
||||
if key == "name":
|
||||
if (
|
||||
key == "name"
|
||||
or (key == "type" and self._data["name"] is None)
|
||||
):
|
||||
self.parent().on_task_name_change(self)
|
||||
|
||||
return result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue