mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-04 00:01:19 -07:00
Add tooltip to materials list itmes.
CURA-8979
This commit is contained in:
parent
503f21090e
commit
c7bb97aa6c
1 changed files with 3 additions and 1 deletions
|
|
@ -62,9 +62,11 @@ Rectangle
|
||||||
anchors.verticalCenter: materialSlot.verticalCenter
|
anchors.verticalCenter: materialSlot.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
MouseArea
|
UM.TooltipArea
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
text: material != null ? `${material.brand} ${material.name}` : ""
|
||||||
|
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
materialList.currentBrand = material.brand;
|
materialList.currentBrand = material.brand;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue