mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fix parameter injection deprecation warning
This commit is contained in:
parent
1158856f80
commit
ef6f76fc98
2 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ Cura.ExpandableComponent
|
|||
model: layerViewTypes
|
||||
visible: !UM.SimulationView.compatibilityMode
|
||||
|
||||
onActivated: UM.Preferences.setValue("layerview/layer_view_type", index)
|
||||
onActivated: (index) => {UM.Preferences.setValue("layerview/layer_view_type", index)}
|
||||
|
||||
Component.onCompleted:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue