Fix code style

Most stuff here was recently changed. Some of it was where I found a pattern in something that was likely copy-pasted from somewhere else, so I did a global search and replace on that.

Contributes to issue CURA-5784.
This commit is contained in:
Ghostkeeper 2018-10-18 14:30:11 +02:00
parent a4c609d514
commit 1bcd134f85
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
24 changed files with 433 additions and 243 deletions

View file

@ -128,7 +128,8 @@ Item
Instantiator
{
model: Cura.ExtrudersModel { simpleNames: true }
Menu {
Menu
{
title: model.name
NozzleMenu { title: Cura.MachineManager.activeDefinitionVariantsName; visible: Cura.MachineManager.hasVariants; extruderIndex: index }
@ -267,7 +268,8 @@ Item
}
}
UM.ExtensionModel {
UM.ExtensionModel
{
id: curaExtensions
}
@ -291,7 +293,8 @@ Item
Connections
{
target: Cura.Actions.browsePackages
onTriggered: {
onTriggered:
{
curaExtensions.callExtensionMethod("Toolbox", "browsePackages")
}
}