From 4b8274d7cbf4223b7566d213ae7678c7e82ff03f Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 18 Jul 2019 13:42:33 +0200 Subject: [PATCH] Add ID to stage selection buttons Necessary to switch stages in the Squish tests. Contributes to issue CURA-6276. --- resources/qml/MainWindow/MainWindowHeader.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/qml/MainWindow/MainWindowHeader.qml b/resources/qml/MainWindow/MainWindowHeader.qml index 43ec03d947..5d1a20c8b1 100644 --- a/resources/qml/MainWindow/MainWindowHeader.qml +++ b/resources/qml/MainWindow/MainWindowHeader.qml @@ -55,6 +55,7 @@ Item delegate: Button { + id: stageSelectorButton text: model.name.toUpperCase() checkable: true checked: UM.Controller.activeStage !== null && model.id == UM.Controller.activeStage.stageId