Revert "Only change project name when saving to project files."

This reverts commit b97920e5b1.
This commit is contained in:
Ghostkeeper 2021-09-10 16:46:39 +02:00
parent daac6faaba
commit 9e2b556ce8
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 8 additions and 10 deletions

View file

@ -604,7 +604,7 @@ class DigitalFactoryController(QObject):
def _saveFileToSelectedProjectHelper(self, filename: str, formats: List[str]) -> None:
# Indicate we have started sending a job (and propagate any user file name changes back to the open project)
self.uploadStarted.emit(filename if "3mf" in formats else None)
self.uploadStarted.emit(filename)
library_project_id = self._project_model.items[self._selected_project_idx]["libraryProjectId"]
library_project_name = self._project_model.items[self._selected_project_idx]["displayName"]