mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 07:06:00 +08:00
Fix jobname when opening multiple files at once
This commit is contained in:
parent
6852e59404
commit
0af42587b0
@ -666,12 +666,15 @@ UM.MainWindow
|
|||||||
for(var i in fileUrls)
|
for(var i in fileUrls)
|
||||||
{
|
{
|
||||||
UM.MeshFileHandler.readLocalFile(fileUrls[i])
|
UM.MeshFileHandler.readLocalFile(fileUrls[i])
|
||||||
}
|
|
||||||
|
|
||||||
var meshName = backgroundItem.getMeshName(fileUrl.toString())
|
if (i == fileUrls.length - 1)
|
||||||
|
{
|
||||||
|
var meshName = backgroundItem.getMeshName(fileUrls.toString())
|
||||||
backgroundItem.hasMesh(decodeURIComponent(meshName))
|
backgroundItem.hasMesh(decodeURIComponent(meshName))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user