Browse Source

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
fieldOfView 8 years ago
parent
commit
6474f3eb25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/Preferences/MaterialView.qml

+ 1 - 1
resources/qml/Preferences/MaterialView.qml

@@ -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))