mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 00:09:02 +08:00
Fix crash when removing manually added device.
I forgot to rename a variable :( CURA-4861
This commit is contained in:
parent
fc23787c1c
commit
0e5395dfd5
@ -126,7 +126,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
|||||||
def removeManualDevice(self, key, address = None):
|
def removeManualDevice(self, key, address = None):
|
||||||
if key in self._discovered_devices:
|
if key in self._discovered_devices:
|
||||||
if not address:
|
if not address:
|
||||||
address = self._printers[key].ipAddress
|
address = self._discovered_devices[key].ipAddress
|
||||||
self._onRemoveDevice(key)
|
self._onRemoveDevice(key)
|
||||||
|
|
||||||
if address in self._manual_instances:
|
if address in self._manual_instances:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user