From a9095f2b778cffb6d2f5049f8638010cc1c0b651 Mon Sep 17 00:00:00 2001 From: Aleksei S Date: Mon, 4 Jun 2018 11:46:51 +0200 Subject: [PATCH] After command "Undo" the project name was empty CURA-5367 --- cura/PrintInformation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 9239dec8b7..d17720228f 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -357,11 +357,12 @@ class PrintInformation(QObject): data = mime_type.stripExtension(name) except: Logger.log("w", "Unsupported Mime Type Database file extension") + data = 'unnamed' if data is not None and check_name is not None: self._base_name = data else: - self._base_name = '' + self._base_name = 'unnamed' self._updateJobName()