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:
Ghostkeeper 2017-10-02 16:55:04 +02:00
parent dfe4a76e85
commit bd0b38f688
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75
2 changed files with 2 additions and 2 deletions

View file

@ -242,8 +242,8 @@ class PrinterOutputDevice(QObject, OutputDevice):
@pyqtSlot()
def stopCamera(self):
self._camera_active = False
self._stopCamera()
self._camera_active = False
def _stopCamera(self):
Logger.log("w", "_stopCamera is not implemented by this output device")