Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cura/UI
diff options
context:
space:
mode:
authorTim Kuipers <t.kuipers@ultimaker.com>2019-10-31 13:43:26 +0300
committerTim Kuipers <t.kuipers@ultimaker.com>2019-10-31 13:43:26 +0300
commit96f8dab853413a526f818aa3bf22d8a509d2c8af (patch)
treeae4511b59da9004a6f911be36b6e1ca8107fbbc4 /cura/UI
parentcc221f6295bc67f603c6c7ccaf135f8acb73c33e (diff)
dont prepend 'Pre-sliced file'
Diffstat (limited to 'cura/UI')
-rw-r--r--cura/UI/PrintInformation.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cura/UI/PrintInformation.py b/cura/UI/PrintInformation.py
index abf1083836..e33ab13b69 100644
--- a/cura/UI/PrintInformation.py
+++ b/cura/UI/PrintInformation.py
@@ -298,9 +298,7 @@ class PrintInformation(QObject):
# Only update the job name when it's not user-specified.
if not self._is_user_specified_job_name:
- if self._pre_sliced:
- self._job_name = catalog.i18nc("@label", "Pre-sliced file {0}", base_name)
- elif self._application.getInstance().getPreferences().getValue("cura/jobname_prefix"):
+ if self._application.getInstance().getPreferences().getValue("cura/jobname_prefix") and not self._pre_sliced:
# Don't add abbreviation if it already has the exact same abbreviation.
if base_name.startswith(self._abbr_machine + "_"):
self._job_name = base_name