mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 09:55:53 +08:00
Fix qml warnings
CURA-2006
This commit is contained in:
parent
08091209f1
commit
0f998c6e2e
@ -54,9 +54,9 @@ Tab
|
||||
|
||||
model: Cura.QualitySettingsModel
|
||||
{
|
||||
extruderId: base.extruderId != "" ? base.extruderId : null;
|
||||
quality: base.quality != null ? base.quality : "";
|
||||
material: base.material
|
||||
extruderId: base.extruderId != "" ? base.extruderId : ""
|
||||
quality: base.quality != null ? base.quality : ""
|
||||
material: base.material != null ? base.material : ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -201,7 +201,7 @@ UM.ManagementPage
|
||||
{
|
||||
title: catalog.i18nc("@title:tab", "Global Settings");
|
||||
quality: base.currentItem != null ? base.currentItem.id : "";
|
||||
material: Cura.MachineManager.allActiveMaterialIds.global
|
||||
material: Cura.MachineManager.allActiveMaterialIds.global ? Cura.MachineManager.allActiveMaterialIds.global : ""
|
||||
}
|
||||
|
||||
Repeater
|
||||
|
Loading…
x
Reference in New Issue
Block a user