mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 05:07:50 -06:00
Materials & variants are now correctly checked when active
CURA-1278
This commit is contained in:
parent
5dbe0bdc03
commit
dd24e488a8
3 changed files with 16 additions and 5 deletions
|
@ -156,7 +156,7 @@ Item
|
|||
{
|
||||
text: model.name;
|
||||
checkable: true;
|
||||
checked: model.active;
|
||||
checked: model.id == Cura.MachineManager.activeVariantId;
|
||||
exclusiveGroup: variantSelectionMenuGroup;
|
||||
onTriggered:
|
||||
{
|
||||
|
@ -199,13 +199,11 @@ Item
|
|||
{
|
||||
filter: {"type": "material"}
|
||||
}
|
||||
//model: UM.InstancesModel {filter: {"type":"material"}}
|
||||
// model: UM.MachineMaterialsModel { id: machineMaterialsModel }
|
||||
MenuItem
|
||||
{
|
||||
text: model.name;
|
||||
checkable: true;
|
||||
checked: model.active;
|
||||
checked: model.id == Cura.MachineManager.activeMaterialId;
|
||||
exclusiveGroup: materialSelectionMenuGroup;
|
||||
onTriggered:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue