From 204e1ee834824070d2b26f12ed2efa2ea7ca9836 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 5 Sep 2017 11:41:30 +0200 Subject: [PATCH] PrintJobname is now only set when it was empty or if it's set to empty CURA-4276 fixes #2346 --- cura/PrintInformation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 47672a9823..6100b7a39e 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -227,7 +227,8 @@ class PrintInformation(QObject): # when a file is opened using the terminal; the filename comes from _onFileLoaded and still contains its # extension. This cuts the extension off if necessary. name = os.path.splitext(name)[0] - if self._job_name != name: + + if self._job_name != name and (self._job_name == "" or name == ""): self._job_name = name self.jobNameChanged.emit()