mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 18:15:53 +08:00
Merge branch '2.5' of github.com:Ultimaker/Cura
This commit is contained in:
commit
370f90db68
@ -155,8 +155,10 @@ TabView
|
|||||||
decimals: 2
|
decimals: 2
|
||||||
maximumValue: 1000
|
maximumValue: 1000
|
||||||
|
|
||||||
onEditingFinished: base.setMaterialPreferenceValue(properties.guid, "spool_cost", parseFloat(value))
|
onValueChanged: {
|
||||||
onValueChanged: updateCostPerMeter()
|
base.setMaterialPreferenceValue(properties.guid, "spool_cost", parseFloat(value))
|
||||||
|
updateCostPerMeter()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament weight") }
|
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament weight") }
|
||||||
@ -170,8 +172,10 @@ TabView
|
|||||||
decimals: 0
|
decimals: 0
|
||||||
maximumValue: 10000
|
maximumValue: 10000
|
||||||
|
|
||||||
onEditingFinished: base.setMaterialPreferenceValue(properties.guid, "spool_weight", parseFloat(value))
|
onValueChanged: {
|
||||||
onValueChanged: updateCostPerMeter()
|
base.setMaterialPreferenceValue(properties.guid, "spool_weight", parseFloat(value))
|
||||||
|
updateCostPerMeter()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament length") }
|
Label { width: base.firstColumnWidth; height: parent.rowHeight; verticalAlignment: Qt.AlignVCenter; text: catalog.i18nc("@label", "Filament length") }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user