Close connection now also ensures that cached machine & material ids are reset

CURA-2354
This commit is contained in:
Jaime van Kessel 2016-09-13 17:43:57 +02:00
parent 400401929d
commit a754952f5e

View file

@ -400,6 +400,10 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
self._authentication_failed_message.hide()
self._authentication_succeeded_message.hide()
# Reset stored material & hotend data.
self._material_ids = [""] * self._num_extruders
self._hotend_ids = [""] * self._num_extruders
if self._error_message:
self._error_message.hide()