ftrack custom attributes have right tool label

This commit is contained in:
iLLiCiTiT 2021-04-07 17:17:19 +02:00
parent da32cbe8b0
commit 19a9a54754

View file

@ -400,9 +400,9 @@ class CustomAttributes(BaseAction):
def tools_attribute(self, event):
tools_data = []
for tool_name in self.app_manager.tools.keys():
for tool_name, tool in self.app_manager.tools.items():
tools_data.append({
tool_name: tool_name
tool_name: tool.label
})
# Make sure there is at least one item