mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Don't show 'discovered' machines that are placeholders. [CURA-6057]
This commit is contained in:
parent
a0a9f20454
commit
c5f4b30264
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ class DiscoveredPrintersModel(QObject):
|
|||
|
||||
@pyqtProperty(list, notify = discoveredPrintersChanged)
|
||||
def discoveredPrinters(self) -> List["DiscoveredPrinter"]:
|
||||
item_list = list(x for x in self._discovered_printer_by_ip_dict.values())
|
||||
item_list = list(
|
||||
x for x in self._discovered_printer_by_ip_dict.values() if x.device.getProperty("temporary") != "true")
|
||||
item_list.sort(key = lambda x: x.device.name)
|
||||
return item_list
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue