Browse Source

Do not produce an error when a setting has been filtered out

Contributes to CURA-340
Arjen Hiemstra 8 years ago
parent
commit
98c9f202a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/qml/Settings/SettingView.qml

+ 1 - 1
resources/qml/Settings/SettingView.qml

@@ -91,7 +91,7 @@ ScrollView
                 id: provider
 
                 containerStackId: ExtruderManager.activeExtruderStackId ? ExtruderManager.activeExtruderStackId : Cura.MachineManager.activeMachineId
-                key: model.key
+                key: model.key ? model.key : ""
                 watchedProperties: [ "value", "enabled", "state", "validationState" ]
                 storeIndex: 0
             }