summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty.cpp')
-rw-r--r--src/declarative/qml/qmlmetaproperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp
index e6ffd50..afd28bb 100644
--- a/src/declarative/qml/qmlmetaproperty.cpp
+++ b/src/declarative/qml/qmlmetaproperty.cpp
@@ -490,7 +490,7 @@ QmlBinding *QmlMetaProperty::binding() const
QObject *child = *iter;
if (child->metaObject() == &QmlBinding::staticMetaObject) {
QmlBinding *v = static_cast<QmlBinding *>(child);
- if (v->property() == *this)
+ if (v->property() == *this && v->enabled())
return v;
}
}