mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix NaN values on material print settings tab
This commit is contained in:
parent
e0b927b53c
commit
c97f8679c2
1 changed files with 2 additions and 2 deletions
|
|
@ -273,10 +273,10 @@ TabView
|
||||||
{
|
{
|
||||||
id: spinBox
|
id: spinBox
|
||||||
anchors.left: label.right
|
anchors.left: label.right
|
||||||
value: parseFloat(provider.properties.value);
|
value: (provider.properties.value != "None") ? parseFloat(provider.properties.value) : 0
|
||||||
width: base.secondColumnWidth;
|
width: base.secondColumnWidth;
|
||||||
readOnly: !base.editingEnabled
|
readOnly: !base.editingEnabled
|
||||||
suffix: model.unit
|
suffix: " " + model.unit
|
||||||
maximumValue: 99999
|
maximumValue: 99999
|
||||||
decimals: model.unit == "mm" ? 2 : 0
|
decimals: model.unit == "mm" ? 2 : 0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue