mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
make onClicked action a one-liner
Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
parent
53b31e816a
commit
4853350638
1 changed files with 1 additions and 4 deletions
|
|
@ -90,10 +90,7 @@ UM.Dialog
|
||||||
MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked:
|
onClicked: base.color = swatchColor
|
||||||
{
|
|
||||||
base.color = swatchColor;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue