mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Devices are now correctly removed
CURA-49
This commit is contained in:
parent
f9a1b75c7c
commit
e073860389
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class NetworkPrinterOutputDevicePlugin(OutputDevicePlugin, SignalEmitter):
|
||||||
if self._printers[key].isConnected():
|
if self._printers[key].isConnected():
|
||||||
self.getOutputDeviceManager().addOutputDevice(self._printers[key])
|
self.getOutputDeviceManager().addOutputDevice(self._printers[key])
|
||||||
else:
|
else:
|
||||||
self.getOutputDeviceManager().removeOutputDevice(self._printers[key])
|
self.getOutputDeviceManager().removeOutputDevice(key)
|
||||||
|
|
||||||
## Handler for zeroConf detection
|
## Handler for zeroConf detection
|
||||||
def _onServiceChanged(self, zeroconf, service_type, name, state_change):
|
def _onServiceChanged(self, zeroconf, service_type, name, state_change):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue