Closing the networkprinteroutput device now hides all it's messages

CURA-49
This commit is contained in:
Jaime van Kessel 2016-06-29 13:31:42 +02:00
parent 5597f6dcf2
commit 58c3f5dc89

View file

@ -182,6 +182,11 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
def close(self):
self.setConnectionState(ConnectionState.closed)
self._progress_message.hide()
self._authentication_requested_message.hide()
self._error_message.hide()
self._authentication_counter = 0
self._authentication_timer.stop()
self._update_timer.stop()
self._camera_timer.stop()