Commit 057d4f7d authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.propertyEditor: fix for scaling


Task-number: QTCREATORBUG-4335
Reviewed-by: Kai Koehne
parent c526b71b
......@@ -69,14 +69,14 @@ GroupBox {
backendValue: backendValues.scale;
property variant pureValue: backendValues.scale.value;
onPureValueChanged: {
if (value != pureValue * 100)
if (value != pureValue * 10)
value = pureValue * 10;
}
minimum: 1;
maximum: 100;
maximum: 10;
singleStep: 1;
onValueChanged: {
if ((value > 5) && (value < 100))
if ((value > 0) && (value < 11))
backendValues.scale.value = value / 10;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment