diff options
author | Tim Kuipers <t.kuipers@ultimaker.com> | 2019-10-31 13:43:26 +0300 |
---|---|---|
committer | Tim Kuipers <t.kuipers@ultimaker.com> | 2019-10-31 13:43:26 +0300 |
commit | 96f8dab853413a526f818aa3bf22d8a509d2c8af (patch) | |
tree | ae4511b59da9004a6f911be36b6e1ca8107fbbc4 /cura/UI | |
parent | cc221f6295bc67f603c6c7ccaf135f8acb73c33e (diff) |
dont prepend 'Pre-sliced file'
Diffstat (limited to 'cura/UI')
-rw-r--r-- | cura/UI/PrintInformation.py | 4 |
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 |