Browse Source

Fix crash when removing manually added device.

I forgot to rename a variable :(
CURA-4861
Jaime van Kessel 7 years ago
parent
commit
0e5395dfd5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/UM3NetworkPrinting/UM3OutputDevicePlugin.py

+ 1 - 1
plugins/UM3NetworkPrinting/UM3OutputDevicePlugin.py

@@ -126,7 +126,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
     def removeManualDevice(self, key, address = None):
         if key in self._discovered_devices:
             if not address:
-                address = self._printers[key].ipAddress
+                address = self._discovered_devices[key].ipAddress
             self._onRemoveDevice(key)
 
         if address in self._manual_instances: