Use loader for machine actions in dialog

CURA-6495
This commit is contained in:
Lipu Fei 2019-05-06 13:05:28 +02:00
parent c9e7f3a245
commit 53d595f698
5 changed files with 27 additions and 23 deletions

View file

@ -100,7 +100,7 @@ class FirstStartMachineActionsModel(ListModel):
item_list = []
for item in first_start_actions:
item_list.append({"title": item.label,
"content": item.displayItem,
"content": item.getDisplayItem(),
"action": item,
})
item.reset()