Add { } around statements in "if"

Make nitpicking people happy :P
This commit is contained in:
Lipu Fei 2017-03-22 21:05:43 +01:00
parent bd10e50249
commit ef0a502dcf

View file

@ -82,8 +82,9 @@ Item {
onTriggered:
{
// only work when the button is enabled
if (saveToButton.enabled)
if (saveToButton.enabled) {
saveToButton.clicked();
}
}
}