diff options
author | Ghostkeeper <rubend@tutanota.com> | 2022-01-25 13:58:44 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2022-01-25 13:58:44 +0300 |
commit | 5f101e8233b2d3ce07f168a6ff889cd374bf61fa (patch) | |
tree | 4f79baf1e362d023da235a89513523303e207d3b /plugins/MachineSettingsAction | |
parent | 0f61e25a77e6259291112d07f1b49315d2ae9d03 (diff) |
Set checked tab for TabRowButton
We're changing this so that the button doesn't set this by itself. This is necessary so that I can use this TabRowButton also when it's not in a repeater (for the global stack in the profile manager).
Contributes to issue CURA-8686.
Diffstat (limited to 'plugins/MachineSettingsAction')
-rw-r--r-- | plugins/MachineSettingsAction/MachineSettingsAction.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MachineSettingsAction/MachineSettingsAction.qml b/plugins/MachineSettingsAction/MachineSettingsAction.qml index 8c4c00a3a5..0f0ffac8cd 100644 --- a/plugins/MachineSettingsAction/MachineSettingsAction.qml +++ b/plugins/MachineSettingsAction/MachineSettingsAction.qml @@ -1,5 +1,5 @@ -// Copyright (c) 2019 Ultimaker B.V. -// Cura is released under the terms of the LGPLv3 or higher. +//Copyright (c) 2022 Ultimaker B.V. +//Cura is released under the terms of the LGPLv3 or higher. import QtQuick 2.10 import QtQuick.Controls 2.3 @@ -111,6 +111,7 @@ Cura.MachineAction model: tabNameModel delegate: UM.TabRowButton { + checked: model.index == 0 text: model.name } } |