Browse Source

Fix clusterSize property check in QML

Lipu Fei 7 years ago
parent
commit
78456d5bc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/UM3NetworkPrinting/DiscoverUM3Action.qml

+ 1 - 1
plugins/UM3NetworkPrinting/DiscoverUM3Action.qml

@@ -277,7 +277,7 @@ Cura.MachineAction
                     wrapMode: Text.WordWrap
                     text:{
                         // The property cluster size does not exist for older UM3 devices.
-                        if(!base.selectedPrinter && (base.selectedPrinter.clusterSize == null || base.selectedPrinter.clusterSize == 1))
+                        if(!base.selectedPrinter || base.selectedPrinter.clusterSize == null || base.selectedPrinter.clusterSize == 1)
                         {
                             return "";
                         }