From 4a0bb43e3977205e4da6fe9fb5fd21ea278b5db9 Mon Sep 17 00:00:00 2001 From: Satish Date: Fri, 15 Feb 2019 12:08:42 +0100 Subject: [PATCH] CURA-6201 - Added an id to stage buttons for the integration tests --- resources/qml/MainWindow/MainWindowHeader.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/MainWindow/MainWindowHeader.qml b/resources/qml/MainWindow/MainWindowHeader.qml index ffcad4c75b..fab8010dd7 100644 --- a/resources/qml/MainWindow/MainWindowHeader.qml +++ b/resources/qml/MainWindow/MainWindowHeader.qml @@ -67,6 +67,8 @@ Item property color overlayColor: "transparent" property string overlayIconSource: "" + // This id is required to find the stage buttons through Squish + property string stageId: model.id // This is a trick to assure the activeStage is correctly changed. It doesn't work propertly if done in the onClicked (see CURA-6028) MouseArea