mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Show upload error or success in header once completed
According to the brand new design. Contributes to issue CURA-8609.
This commit is contained in:
parent
8ae93c6bc1
commit
c3d392c5cf
2 changed files with 56 additions and 16 deletions
|
@ -408,5 +408,7 @@ class MaterialManagementModel(QObject):
|
|||
def exportUploadCompleted(self, job_result: UploadMaterialsJob.Result):
|
||||
if job_result == UploadMaterialsJob.Result.FAILED:
|
||||
self._sync_all_dialog.setProperty("syncStatusText", catalog.i18nc("@text", "Something went wrong when sending the materials to the printers."))
|
||||
self._export_upload_status = "idle"
|
||||
self._export_upload_status = "error"
|
||||
else:
|
||||
self._export_upload_status = "success"
|
||||
self.exportUploadStatusChanged.emit()
|
Loading…
Add table
Add a link
Reference in a new issue