mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Added JobName to network output device
CURA-1036
This commit is contained in:
parent
a1c9f055c8
commit
d6aacf24b9
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||||
self._updateJobState(json_data["state"])
|
self._updateJobState(json_data["state"])
|
||||||
self.setTimeElapsed(json_data["time_elapsed"])
|
self.setTimeElapsed(json_data["time_elapsed"])
|
||||||
self.setTimeTotal(json_data["time_total"])
|
self.setTimeTotal(json_data["time_total"])
|
||||||
|
self.setJobName(json_data["name"])
|
||||||
elif reply.attribute(QNetworkRequest.HttpStatusCodeAttribute) == 404:
|
elif reply.attribute(QNetworkRequest.HttpStatusCodeAttribute) == 404:
|
||||||
self.setProgress(0) # No print job found, so there can't be progress!
|
self.setProgress(0) # No print job found, so there can't be progress!
|
||||||
self._updateJobState("")
|
self._updateJobState("")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue