Always update the job name with the loaded project

CURA-4348
This commit is contained in:
Lipu Fei 2017-10-11 12:49:22 +02:00
parent 496791db7f
commit 4927a639cd

View file

@ -36,6 +36,8 @@ UM.Dialog
var meshName = backgroundItem.getMeshName(projectFile.toString()); var meshName = backgroundItem.getMeshName(projectFile.toString());
backgroundItem.hasMesh(decodeURIComponent(meshName)); backgroundItem.hasMesh(decodeURIComponent(meshName));
// always update the job name with the loaded project
PrintInformation.setBaseName(meshName);
} }
function loadModelFiles(fileUrls) function loadModelFiles(fileUrls)