All found devices are now listed in the discover action

CURA-336
This commit is contained in:
Jaime van Kessel 2016-06-23 14:17:50 +02:00
parent f199d490bb
commit 9a4fc0345c
3 changed files with 24 additions and 3 deletions

View file

@ -26,7 +26,7 @@ class DiscoverUM3Action(MachineAction):
@pyqtProperty("QVariantList", notify = printerDetected)
def foundDevices(self):
if self._network_plugin:
print(list(self._network_plugin.getPrinters().keys()))
return list(self._network_plugin.getPrinters().keys())
else:
return []