From 92b371cd508ebf5102aa5ae979865d2bac591b7e Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Mon, 12 Sep 2022 17:34:44 +0200 Subject: [PATCH] More agressivly check online printers CURA-9278 --- cura/Settings/MachineManager.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 2051ce1b99..699942ebaf 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -205,11 +205,7 @@ class MachineManager(QObject): ConnectionType.NetworkConnection in machine.configuredConnectionTypes, machines) if online_only: - # LAN printers can have is_online = False but should still be included, - # their online status is only checked when they are the active printer. - machines = filter(lambda machine: parseBool(machine.getMetaDataEntry("is_online", False) or - ConnectionType.NetworkConnection in machine.configuredConnectionTypes), - machines) + machines = filter(lambda machine: parseBool(machine.getMetaDataEntry("is_online", False)), machines) return list(machines)