From d433c54a0a986e7cfb149f2ffef6cd4f85e58c4c Mon Sep 17 00:00:00 2001 From: alekseisasin Date: Mon, 14 May 2018 17:42:54 +0200 Subject: [PATCH] If the file type is not registered still show it's name in project field CURA-5323 --- cura/PrintInformation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 6737ebdfb9..a59f235741 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -345,8 +345,8 @@ class PrintInformation(QObject): except: Logger.log("w", "Unsupported Mime Type Database file extension") - if data is not None: - self._base_name = data + if data is not None and check_name is not None: + self._base_name = check_name else: self._base_name = ''