mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-19 14:39:06 +08:00
After command "Undo" the project name was empty
CURA-5367
This commit is contained in:
parent
4922988e7d
commit
a9095f2b77
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user