mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Camera requests now also set last_request_time
CURA-2630
This commit is contained in:
parent
a9b45572cc
commit
2337a78a71
1 changed files with 1 additions and 0 deletions
|
@ -230,6 +230,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||||
url = QUrl("http://" + self._address + ":8080/?action=snapshot")
|
url = QUrl("http://" + self._address + ":8080/?action=snapshot")
|
||||||
image_request = QNetworkRequest(url)
|
image_request = QNetworkRequest(url)
|
||||||
self._manager.get(image_request)
|
self._manager.get(image_request)
|
||||||
|
self._last_request_time = time()
|
||||||
|
|
||||||
## Set the authentication state.
|
## Set the authentication state.
|
||||||
# \param auth_state \type{AuthState} Enum value representing the new auth state
|
# \param auth_state \type{AuthState} Enum value representing the new auth state
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue