Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/Menus/ContextMenu.qml')
-rw-r--r--resources/qml/Menus/ContextMenu.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/qml/Menus/ContextMenu.qml b/resources/qml/Menus/ContextMenu.qml
index 1bba79e2c1..65f3409c8a 100644
--- a/resources/qml/Menus/ContextMenu.qml
+++ b/resources/qml/Menus/ContextMenu.qml
@@ -45,8 +45,8 @@ Cura.Menu
shortcut: "Ctrl+" + (model.index + 1)
}
// Add it to the fifth position (and above) as we want it to be added after the extruder header.
- onObjectAdded: base.insertItem(index + 5, object)
- onObjectRemoved: base.removeItem(object)
+ onObjectAdded: function(index, object) { base.insertItem(index + 5, object) }
+ onObjectRemoved: function(index, object) { base.removeItem(object) }
}
// Global actions
@@ -134,6 +134,7 @@ Cura.Menu
from: 1
to: 99
width: 2 * UM.Theme.getSize("button").width
+ value: 1
}
}
}