Revert "Use optional last output (file) name from output-dev to set project name."

This reverts commit c2c53d51c1.
This commit is contained in:
Ghostkeeper 2021-09-10 16:46:53 +02:00
parent 9e2b556ce8
commit 24ff3692bd
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
3 changed files with 7 additions and 17 deletions

View file

@ -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: