mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 06:59:03 +08:00
Upon manual job name change, only save the real base name
CURA-5280 Remove the machine prefix in the base name, otherwise when the machine gets changed, the job name will become "<new-machine>_<old_machine>_basename".
This commit is contained in:
parent
fb307fbbf5
commit
a0a8af07dc
@ -284,7 +284,7 @@ class PrintInformation(QObject):
|
||||
@pyqtSlot(str)
|
||||
def setJobName(self, name):
|
||||
self._job_name = name
|
||||
self._base_name = name
|
||||
self._base_name = name.replace(self._abbr_machine + "_", "")
|
||||
self.jobNameChanged.emit()
|
||||
|
||||
jobNameChanged = pyqtSignal()
|
||||
|
Loading…
x
Reference in New Issue
Block a user