mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06: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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue