mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Minor codestyle fixes
CURA-5879
This commit is contained in:
parent
2c8ed99281
commit
d09d8a6ae3
2 changed files with 9 additions and 10 deletions
|
@ -17,22 +17,21 @@ Menu
|
|||
|
||||
MenuItem
|
||||
{
|
||||
text: {
|
||||
var full_text = (model.layer_height != "") ? model.name + " - " + model.layer_height + model.layer_height_unit : model.name;
|
||||
full_text += model.is_experimental ? " - Experimental" : "";
|
||||
return full_text;
|
||||
text:
|
||||
{
|
||||
var full_text = (model.layer_height != "") ? model.name + " - " + model.layer_height + model.layer_height_unit : model.name
|
||||
full_text += model.is_experimental ? " - Experimental" : ""
|
||||
return full_text
|
||||
}
|
||||
checkable: true
|
||||
checked: Cura.MachineManager.activeQualityOrQualityChangesName == model.name
|
||||
exclusiveGroup: group
|
||||
onTriggered: {
|
||||
Cura.MachineManager.setQualityGroup(model.quality_group)
|
||||
}
|
||||
onTriggered: Cura.MachineManager.setQualityGroup(model.quality_group)
|
||||
visible: model.available
|
||||
}
|
||||
|
||||
onObjectAdded: menu.insertItem(index, object);
|
||||
onObjectRemoved: menu.removeItem(object);
|
||||
onObjectAdded: menu.insertItem(index, object)
|
||||
onObjectRemoved: menu.removeItem(object)
|
||||
}
|
||||
|
||||
MenuSeparator
|
||||
|
|
|
@ -480,7 +480,7 @@
|
|||
"toolbox_footer_button": [8.0, 2.5],
|
||||
"toolbox_showcase_spacing": [1.0, 1.0],
|
||||
"toolbox_header_tab": [8.0, 4.0],
|
||||
"toolbox_detail_header": [1.0, 14.0],
|
||||
"toolbox_detail_header": [1.0, 14.0],https://github.com/Ultimaker/Cura/pull/4883
|
||||
"toolbox_detail_tile": [1.0, 8.0],
|
||||
"toolbox_back_column": [6.0, 1.0],
|
||||
"toolbox_back_button": [4.0, 2.0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue