mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Use short for each javascript function
CURA-6033
This commit is contained in:
parent
01783e7f68
commit
c8994102da
1 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,7 @@ Button
|
|||
{
|
||||
var extruderConfigurations = configuration.extruderConfigurations
|
||||
|
||||
for (var index = 0; index < extruderConfigurations.length; index++)
|
||||
for (var index in extruderConfigurations)
|
||||
{
|
||||
var name = extruderConfigurations[index].material ? extruderConfigurations[index].material.name : ""
|
||||
|
||||
|
@ -109,7 +109,7 @@ Button
|
|||
{
|
||||
var extruderConfigurations = configuration.extruderConfigurations
|
||||
var unknownMaterials = []
|
||||
for (var index = 0; index < extruderConfigurations.length; index++)
|
||||
for (var index in extruderConfigurations)
|
||||
{
|
||||
var name = extruderConfigurations[index].material ? extruderConfigurations[index].material.name : ""
|
||||
|
||||
|
@ -144,7 +144,8 @@ Button
|
|||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
MouseArea
|
||||
{
|
||||
anchors.fill: parent
|
||||
cursorShape: unknownMaterialMessage.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
|
||||
acceptedButtons: Qt.NoButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue