Only show draft shield height if draft shield enabled

We must've missed that one previously.

Contributes to issue CURA-1295.
This commit is contained in:
Ghostkeeper 2016-07-27 17:50:25 +02:00
parent bac3f73e6d
commit 6af0f28f32
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -3348,7 +3348,7 @@
"maximum_value_warning": "9999",
"default_value": 0,
"value": "9999 if draft_shield_height_limitation == 'full' and draft_shield_enabled else 0.0",
"enabled": "draft_shield_height_limitation == \"limited\"",
"enabled": "draft_shield_enabled and draft_shield_height_limitation == \"limited\"",
"settable_per_mesh": false,
"settable_per_extruder": false
},