mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 09:55:54 +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
|
||||
{
|
||||
anchors.fill: parent
|
||||
onClicked:
|
||||
{
|
||||
base.color = swatchColor;
|
||||
}
|
||||
onClicked: base.color = swatchColor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user