diff options
author | c.lamboo <casperlamboo@gmail.com> | 2022-09-12 18:34:44 +0300 |
---|---|---|
committer | c.lamboo <casperlamboo@gmail.com> | 2022-09-12 18:34:44 +0300 |
commit | 92b371cd508ebf5102aa5ae979865d2bac591b7e (patch) | |
tree | 340f007a5c27255b5a25931788e18248f572180f | |
parent | 99136fd20991d567bfe1289c2ad7e7779b8c6a9c (diff) |
More agressivly check online printersCURA-9278_choose_printer_dialog
CURA-9278
-rwxr-xr-x | cura/Settings/MachineManager.py | 6 |
1 files changed, 1 insertions, 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) |