diff --git a/tests/qmlchartproperties/qml/qmlchartproperties/ChartEditorLegend.qml b/tests/qmlchartproperties/qml/qmlchartproperties/ChartEditorLegend.qml index 12d62b9..b5bb384 100644 --- a/tests/qmlchartproperties/qml/qmlchartproperties/ChartEditorLegend.qml +++ b/tests/qmlchartproperties/qml/qmlchartproperties/ChartEditorLegend.qml @@ -51,19 +51,19 @@ Row { } Button { text: "legend top" - onClicked: chartLegend.alignment ^= Qt.AlignTop; + onClicked: chartLegend.alignment = Qt.AlignTop; } Button { text: "legend bottom" - onClicked: chartLegend.alignment ^= Qt.AlignBottom; + onClicked: chartLegend.alignment = Qt.AlignBottom; } Button { text: "legend left" - onClicked: chartLegend.alignment ^= Qt.AlignLeft; + onClicked: chartLegend.alignment = Qt.AlignLeft; } Button { text: "legend right" - onClicked: chartLegend.alignment ^= Qt.AlignRight; + onClicked: chartLegend.alignment = Qt.AlignRight; } }