Seperate the init of jobs and starting

This makes it a lot easier to test them

CURA-7959
This commit is contained in:
Jaime van Kessel 2021-04-26 13:35:35 +02:00
parent cf8113608f
commit 7979483e48
No known key found for this signature in database
GPG key ID: 3710727397403C91
3 changed files with 28 additions and 4 deletions

View file

@ -541,6 +541,7 @@ class DigitalFactoryController(QObject):
on_upload_success = self.uploadFileSuccess.emit,
on_upload_finished = self.uploadFileFinished.emit,
on_upload_progress = self.uploadFileProgress.emit)
self.file_upload_manager.start()
# Save the project id to make sure it will be preselected the next time the user opens the save dialog
self._current_workspace_information.setEntryToStore("digital_factory", "library_project_id", library_project_id)