Reduce the amount of QML warning showing up

Contributes to CURA-2006
This commit is contained in:
Arjen Hiemstra 2016-08-10 12:00:03 +02:00
parent 7ba49b4f88
commit 5edeaa1c93
2 changed files with 20 additions and 4 deletions

View file

@ -28,6 +28,11 @@ Tab
section.property: "category"
section.delegate: Label { text: section }
model: Cura.QualitySettingsModel { extruderId: base.extruderId != "" ? base.extruderId : null; quality: base.quality; material: base.material }
model: Cura.QualitySettingsModel
{
extruderId: base.extruderId != "" ? base.extruderId : null;
quality: base.quality != null ? base.quality : "";
material: base.material
}
}
}