mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue