mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:39:03 +08:00
If the file type is not registered still show it's name in project field CURA-5323
This commit is contained in:
parent
8718ee34c9
commit
d433c54a0a
@ -345,8 +345,8 @@ class PrintInformation(QObject):
|
|||||||
except:
|
except:
|
||||||
Logger.log("w", "Unsupported Mime Type Database file extension")
|
Logger.log("w", "Unsupported Mime Type Database file extension")
|
||||||
|
|
||||||
if data is not None:
|
if data is not None and check_name is not None:
|
||||||
self._base_name = data
|
self._base_name = check_name
|
||||||
else:
|
else:
|
||||||
self._base_name = ''
|
self._base_name = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user