From 580010b6730f0bbd93461e960d771aea6bfca964 Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Tue, 21 Feb 2017 15:15:50 +0100 Subject: [PATCH] Undo only abbreviation as job name. CURA-3226 --- cura/PrintInformation.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 9450dba3f8..5d540628af 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -210,11 +210,7 @@ class PrintInformation(QObject): # Don't add abbreviation if it already has the exact same abbreviation. if base_name.startswith(self._abbr_machine + "_"): return base_name - # Only return abbreviation if no base name is given. - if base_name == "": - return self._abbr_machine - else: - return self._abbr_machine + "_" + base_name + return self._abbr_machine + "_" + base_name else: return base_name