Merge pull request #2880 from fieldOfView/fix_machinesettings_diameter_no_materials

Hide material diameter when the machine has no materials
This commit is contained in:
ChrisTerBeke 2017-12-01 14:56:36 +01:00 committed by GitHub
commit 7cc953d8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,6 +283,7 @@ Cura.MachineAction
Loader
{
id: materialDiameterField
visible: Cura.MachineManager.hasMaterials
sourceComponent: numericTextFieldWithUnit
property string settingKey: "material_diameter"
property string unit: catalog.i18nc("@label", "mm")