mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
After command "Undo" the project name was empty
CURA-5367
This commit is contained in:
parent
4922988e7d
commit
a9095f2b77
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue