mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 00:45:56 +08: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
@ -90,10 +90,7 @@ UM.Dialog
|
|||||||
MouseArea
|
MouseArea
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked:
|
onClicked: base.color = swatchColor
|
||||||
{
|
|
||||||
base.color = swatchColor;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user