mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Print discovery now lists all found human readable names
CURA-336
This commit is contained in:
parent
16fcf2208b
commit
0cee5b78df
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class DiscoverUM3Action(MachineAction):
|
|||
@pyqtProperty("QVariantList", notify = printerDetected)
|
||||
def foundDevices(self):
|
||||
if self._network_plugin:
|
||||
|
||||
return list(self._network_plugin.getPrinters().keys())
|
||||
printers = self._network_plugin.getPrinters()
|
||||
return([printers[printer].getProperties().get(b"name").decode("utf-8") for printer in printers])
|
||||
else:
|
||||
return []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue