Merge branch '5.10' into CURA-12466_Experimental_setting_visibility

This commit is contained in:
HellAholic 2025-03-15 22:10:26 +01:00 committed by GitHub
commit 858ffee545
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -449,6 +449,6 @@ class PrintInformation(QObject):
"""If this is a sort of output 'device' (like local or online file storage, rather than a printer),
the user could have altered the file-name, and thus the project name should be altered as well."""
if isinstance(output_device, ProjectOutputDevice):
new_name = output_device.getLastOutputName()
new_name = output_device.popLastOutputName()
if new_name is not None:
self.setJobName(os.path.splitext(os.path.basename(new_name))[0])