Accept click events on materials items in materials list

CURA-8979
This commit is contained in:
j.delarago 2022-03-18 14:08:20 +01:00
parent c6bd020dec
commit bd91078e6e

View File

@ -66,7 +66,7 @@ Rectangle
{ {
anchors.fill: parent anchors.fill: parent
text: material != null ? `${material.brand} ${material.name}` : "" text: material != null ? `${material.brand} ${material.name}` : ""
acceptedButtons: Qt.LeftButton
onClicked: onClicked:
{ {
materialList.currentBrand = material.brand; materialList.currentBrand = material.brand;