Implement filter for printer list to only show printers with certain configured connections

Because here we only want to show cloud-connected printers.

Contributes to issue CURA-8609.
This commit is contained in:
Ghostkeeper 2021-10-05 17:44:15 +02:00
parent c8931d4c23
commit d16217c674
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF
2 changed files with 27 additions and 3 deletions

View file

@ -203,7 +203,10 @@ Window
width: parent.width
spacing: UM.Theme.getSize("default_margin").height
model: Cura.GlobalStacksModel {}
model: Cura.GlobalStacksModel
{
filterConnectionType: 3 //Only show cloud connections.
}
delegate: Rectangle
{
border.color: UM.Theme.getColor("lining")