mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:49:10 +08:00
Restore loadProjectFile function
It is being used when you want to load a project file. Pretty important! Discovered while testing CURA-7950.
This commit is contained in:
parent
2ed68beb22
commit
45fa33584b
@ -27,6 +27,11 @@ UM.Dialog
|
|||||||
property var fileUrls: []
|
property var fileUrls: []
|
||||||
property var addToRecent: true
|
property var addToRecent: true
|
||||||
|
|
||||||
|
function loadProjectFile(projectFile)
|
||||||
|
{
|
||||||
|
UM.WorkspaceFileHandler.readLocalFile(projectFile, base.addToRecent);
|
||||||
|
}
|
||||||
|
|
||||||
function loadModelFiles(fileUrls)
|
function loadModelFiles(fileUrls)
|
||||||
{
|
{
|
||||||
for (var i in fileUrls)
|
for (var i in fileUrls)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user