mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:59:00 +08:00
Fix deprecation warning on recentfilesmenu
This commit is contained in:
parent
4520fc15f9
commit
3a1862f15f
@ -29,7 +29,7 @@ Cura.Menu
|
|||||||
}
|
}
|
||||||
onTriggered: CuraApplication.readLocalFile(modelData)
|
onTriggered: CuraApplication.readLocalFile(modelData)
|
||||||
}
|
}
|
||||||
onObjectAdded: menu.insertItem(index, object)
|
onObjectAdded: (index, object) => menu.insertItem(index, object)
|
||||||
onObjectRemoved: menu.removeItem(object)
|
onObjectRemoved: (object) => menu.removeItem(object)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user