From a0a8af07dc779af6570c069499b1a7f6fce6e0ad Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Wed, 23 May 2018 16:40:49 +0200 Subject: [PATCH] Upon manual job name change, only save the real base name CURA-5280 Remove the machine prefix in the base name, otherwise when the machine gets changed, the job name will become "__basename". --- cura/PrintInformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 8768f850b9..3260d55c74 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -284,7 +284,7 @@ class PrintInformation(QObject): @pyqtSlot(str) def setJobName(self, name): self._job_name = name - self._base_name = name + self._base_name = name.replace(self._abbr_machine + "_", "") self.jobNameChanged.emit() jobNameChanged = pyqtSignal()