mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Use self._camera_active to detect whether we should show the camera
Because the camera timer is whether we should request the camera. Contributes to issue CURA-4376.
This commit is contained in:
parent
dfe4a76e85
commit
bd0b38f688
2 changed files with 2 additions and 2 deletions
|
@ -334,7 +334,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
else: #Camera wasn't even running. Don't try to stop it or you'll get a segfault.
|
||||
return
|
||||
|
||||
if self._image_reply:
|
||||
if self._camera_active:
|
||||
try:
|
||||
self._image_reply.abort()
|
||||
self._image_reply.downloadProgress.disconnect(self._onStreamDownloadProgress)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue