mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:55:57 +08:00
Close connection now also ensures that cached machine & material ids are reset
CURA-2354
This commit is contained in:
parent
400401929d
commit
a754952f5e
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user