fix tool name in create update attriutes action

This commit is contained in:
iLLiCiTiT 2021-03-25 19:50:18 +01:00
parent 76bcca4c44
commit e3c44925d4

View file

@ -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: