mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 15:37:27 -06:00
Close connection now also ensures that cached machine & material ids are reset
CURA-2354
This commit is contained in:
parent
400401929d
commit
a754952f5e
1 changed files with 4 additions and 0 deletions
|
@ -400,6 +400,10 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||||
self._authentication_failed_message.hide()
|
self._authentication_failed_message.hide()
|
||||||
self._authentication_succeeded_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:
|
if self._error_message:
|
||||||
self._error_message.hide()
|
self._error_message.hide()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue