Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'cura/Settings/MachineManager.py')
-rwxr-xr-xcura/Settings/MachineManager.py6
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)