mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix tool name in create update attriutes action
This commit is contained in:
parent
76bcca4c44
commit
e3c44925d4
1 changed files with 4 additions and 5 deletions
|
|
@ -400,11 +400,10 @@ class CustomAttributes(BaseAction):
|
|||
|
||||
def tools_attribute(self, event):
|
||||
tools_data = []
|
||||
for tool_name, tool in self.app_manager.tools.items():
|
||||
if tool.enabled:
|
||||
tools_data.append({
|
||||
tool_name: tool_name
|
||||
})
|
||||
for tool_name in self.app_manager.tools.keys():
|
||||
tools_data.append({
|
||||
tool_name: tool_name
|
||||
})
|
||||
|
||||
# Make sure there is at least one item
|
||||
if not tools_data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue