mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:29:05 +08:00
Add { } around statements in "if"
Make nitpicking people happy :P
This commit is contained in:
parent
bd10e50249
commit
ef0a502dcf
@ -82,8 +82,9 @@ Item {
|
|||||||
onTriggered:
|
onTriggered:
|
||||||
{
|
{
|
||||||
// only work when the button is enabled
|
// only work when the button is enabled
|
||||||
if (saveToButton.enabled)
|
if (saveToButton.enabled) {
|
||||||
saveToButton.clicked();
|
saveToButton.clicked();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user