Added logging if connection to network printer was closed

CURA-2630
This commit is contained in:
Jaime van Kessel 2016-10-12 16:02:35 +02:00
parent 2337a78a71
commit 91521eb49d

View file

@ -440,6 +440,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
def close(self):
Logger.log("d", "Closing connection of printer %s with ip %s", self._key, self._address)
self._updateJobState("")
self.setConnectionState(ConnectionState.closed)
if self._progress_message: