From 4927a639cd0feca0ff28c8fafe786cd33f00b0f2 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Wed, 11 Oct 2017 12:49:22 +0200 Subject: [PATCH] Always update the job name with the loaded project CURA-4348 --- resources/qml/OpenFilesIncludingProjectsDialog.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/OpenFilesIncludingProjectsDialog.qml b/resources/qml/OpenFilesIncludingProjectsDialog.qml index af8fb9e05f..c8df7b69a2 100644 --- a/resources/qml/OpenFilesIncludingProjectsDialog.qml +++ b/resources/qml/OpenFilesIncludingProjectsDialog.qml @@ -36,6 +36,8 @@ UM.Dialog var meshName = backgroundItem.getMeshName(projectFile.toString()); backgroundItem.hasMesh(decodeURIComponent(meshName)); + // always update the job name with the loaded project + PrintInformation.setBaseName(meshName); } function loadModelFiles(fileUrls)