mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
PostPrintjobFinished now hides messages & resets state
CL-541
This commit is contained in:
parent
f30f0a7194
commit
70cfbf0180
2 changed files with 5 additions and 3 deletions
|
@ -106,8 +106,10 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
self.postFormWithParts("print_jobs/", parts, onFinished=self._onPostPrintJobFinished, onProgress=self._onUploadPrintJobProgress)
|
||||
|
||||
def _onPostPrintJobFinished(self, reply):
|
||||
print("POST PRINTJOB DONE! YAY!", reply.readAll())
|
||||
pass
|
||||
self._progress_message.hide()
|
||||
self._compressing_gcode = False
|
||||
self._sending_gcode = False
|
||||
Application.getInstance().showPrintMonitor.emit(False)
|
||||
|
||||
def _onUploadPrintJobProgress(self, bytes_sent, bytes_total):
|
||||
if bytes_total > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue