From a7f172d8360b0003c6551e1dc31fe854d5e873f4 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 8 Oct 2021 14:22:46 +0200 Subject: [PATCH] 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. --- resources/qml/Preferences/Materials/MaterialsSyncDialog.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml index 651963fa86..00e19ded9f 100644 --- a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml +++ b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml @@ -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