From 6474f3eb254fad8cf538e39be4b25a5fda34b436 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Fri, 24 Mar 2017 09:12:48 +0100 Subject: [PATCH] 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 --- resources/qml/Preferences/MaterialView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/Preferences/MaterialView.qml b/resources/qml/Preferences/MaterialView.qml index ba36674b40..3e17943310 100644 --- a/resources/qml/Preferences/MaterialView.qml +++ b/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))