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:
Marco Bubke
2020-08-06 09:59:29 +02:00
parent 50791a07a6
commit 97cc02b781

View File

@@ -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"));