Only show online printers in list of printers to sync to

We can only sync with printers that are currently online.
We'll just send it to the account to sync with everything. But these are the ones it should arrive with.

Contributes to issue CURA-8609.
This commit is contained in:
Ghostkeeper 2021-10-08 14:22:46 +02:00
parent 07b2c1b777
commit a7f172d836
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -247,7 +247,7 @@ Window
}
source: UM.Theme.getIcon("CloudBadge", "low")
color: model.isOnline ? UM.Theme.getColor("primary") : UM.Theme.getColor("cloud_unavailable")
color: UM.Theme.getColor("primary")
//Make a themeable circle in the background so we can change it in other themes.
Rectangle
@ -523,6 +523,7 @@ Window
{
id: cloudPrinterList
filterConnectionType: 3 //Only show cloud connections.
filterOnlineOnly: true //Only show printers that are online.
}
FileDialog