mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Fix deprecation warning on recentfilesmenu
This commit is contained in:
parent
4520fc15f9
commit
3a1862f15f
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ Cura.Menu
|
|||
}
|
||||
onTriggered: CuraApplication.readLocalFile(modelData)
|
||||
}
|
||||
onObjectAdded: menu.insertItem(index, object)
|
||||
onObjectRemoved: menu.removeItem(object)
|
||||
onObjectAdded: (index, object) => menu.insertItem(index, object)
|
||||
onObjectRemoved: (object) => menu.removeItem(object)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue