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:
Diego Prado Gesto 2018-09-11 22:12:54 +02:00
parent 9ba4c723f7
commit f298d37134
5 changed files with 127 additions and 117 deletions

View file

@ -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 }