forked from qt-creator/qt-creator
QmlDesigner: Allow transitions also for bindings
Task-number: QDS-10019 Change-Id: Ib7003047241fde3838b248d1fc90161725cb94f9 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -201,7 +201,7 @@ ModelNode TransitionEditorView::addNewTransition()
|
||||
const ModelNode target = change.target();
|
||||
if (auto targetMetaInfo = target.metaInfo()) {
|
||||
const QString targetId = target.id();
|
||||
for (const VariantProperty &property : change.modelNode().variantProperties()) {
|
||||
for (const AbstractProperty &property : change.modelNode().properties()) {
|
||||
auto type = targetMetaInfo.property(property.name()).propertyType();
|
||||
|
||||
if (type.isInteger() || type.isColor() || type.isFloat())
|
||||
|
||||
Reference in New Issue
Block a user