make onClicked action a one-liner

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Casper Lamboo 2022-03-01 17:49:14 +01:00 committed by GitHub
parent 53b31e816a
commit 4853350638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,10 +90,7 @@ UM.Dialog
MouseArea
{
anchors.fill: parent
onClicked:
{
base.color = swatchColor;
}
onClicked: base.color = swatchColor
}
}
}