forked from qt-creator/qt-creator
QmlDesigner: Fix typo bug
Change-Id: I074beda7dc5fa6dc2775e764983bf72e17ea90cf Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
This commit is contained in:
@@ -355,8 +355,8 @@ void NodeInstanceView::resetVerticalAnchors(const ModelNode &modelNode)
|
||||
QList<BindingProperty> bindingList;
|
||||
QList<VariantProperty> valueList;
|
||||
|
||||
if (modelNode.hasBindingProperty("yx"))
|
||||
bindingList.append(modelNode.bindingProperty("yx"));
|
||||
if (modelNode.hasBindingProperty("x"))
|
||||
bindingList.append(modelNode.bindingProperty("x"));
|
||||
else if (modelNode.hasVariantProperty("y"))
|
||||
valueList.append(modelNode.variantProperty("y"));
|
||||
|
||||
|
Reference in New Issue
Block a user