mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
WIP: Moving current selected material to the material list instead of
the page. Change all the previous references to the currentItem in the page. Automatically and correctly select the element that is selected in the extruder. Contributes to CURA-5682.
This commit is contained in:
parent
9ba4c723f7
commit
f298d37134
5 changed files with 127 additions and 117 deletions
|
@ -59,8 +59,8 @@ Rectangle
|
|||
onClicked:
|
||||
{
|
||||
base.currentItem = material
|
||||
base.current_brand = material.brand
|
||||
base.current_type = material.brand+"_"+material.material
|
||||
materialList.currentBrand = material.brand
|
||||
materialList.currentType = material.brand + "_" + material.material
|
||||
}
|
||||
hoverEnabled: true
|
||||
onEntered: { material_slot.hovered = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue