Commit 1b768aaa authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: cleanup of SpinBox.qml

parent cb61b50a
......@@ -24,10 +24,7 @@ QWidget { //This is a special spinBox that does color coding for states
Script {
function evaluate() {
print("evaluate")
print(baseStateFlag)
print(backendValue.isInModel)
function evaluate() {
if (baseStateFlag) {
if (backendValue != null && backendValue.isInModel)
box.setStyleSheet("color: white;");
......
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