mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 15:45:52 +08:00
Prevent qml warning spam if custom_icon isn't set
This commit is contained in:
parent
9c90bcc06e
commit
7103b9b333
@ -32,7 +32,7 @@ Item
|
|||||||
{
|
{
|
||||||
profileName: model.name
|
profileName: model.name
|
||||||
icon: model.icon
|
icon: model.icon
|
||||||
custom_icon: model.custom_icon
|
custom_icon: model.custom_icon ? model.custom_icon : ""
|
||||||
tooltipText: model.description ? model.description : ""
|
tooltipText: model.description ? model.description : ""
|
||||||
|
|
||||||
selected: Cura.MachineManager.activeIntentCategory == model.intent_category
|
selected: Cura.MachineManager.activeIntentCategory == model.intent_category
|
||||||
|
Loading…
x
Reference in New Issue
Block a user