mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Ups the limit of the maximum cost of a spool of filament
This is necessary for currencies such as Japanese Yen or South Korean Won, where prices can easily exceed 1000. This PR sets the limit to 100,000,000. If the price of a spool exceeds this amount, perhaps the user should consider moving to a more stable country. Fixes https://github.com/Ultimaker/Cura/issues/1567
This commit is contained in:
parent
578f72c91e
commit
33f20710d9
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ TabView
|
|||
value: base.getMaterialPreferenceValue(properties.guid, "spool_cost")
|
||||
prefix: base.currency + " "
|
||||
decimals: 2
|
||||
maximumValue: 1000
|
||||
maximumValue: 100000000
|
||||
|
||||
onValueChanged: {
|
||||
base.setMaterialPreferenceValue(properties.guid, "spool_cost", parseFloat(value))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue