mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Revert "Use optional last output (file) name from output-dev to set project name."
This reverts commit c2c53d51c1
.
This commit is contained in:
parent
9e2b556ce8
commit
24ff3692bd
3 changed files with 7 additions and 17 deletions
|
@ -603,8 +603,8 @@ class DigitalFactoryController(QObject):
|
|||
self._saveFileToSelectedProjectHelper(filename, formats)
|
||||
|
||||
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)
|
||||
# Indicate we have started sending a job.
|
||||
self.uploadStarted.emit()
|
||||
|
||||
library_project_id = self._project_model.items[self._selected_project_idx]["libraryProjectId"]
|
||||
library_project_name = self._project_model.items[self._selected_project_idx]["displayName"]
|
||||
|
|
|
@ -105,10 +105,8 @@ class DigitalFactoryOutputDevice(ProjectOutputDevice):
|
|||
self.enabled = logged_in and self._controller.userAccountHasLibraryAccess()
|
||||
self.enabledChanged.emit()
|
||||
|
||||
def _onWriteStarted(self, new_name: Optional[str] = None) -> None:
|
||||
def _onWriteStarted(self) -> None:
|
||||
self._writing = True
|
||||
if new_name:
|
||||
self.setLastOutputName(new_name) # On saving, the user can change the name, this should propagate.
|
||||
self.writeStarted.emit(self)
|
||||
|
||||
def _onWriteFinished(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue