feat: use settable_per_[mesh|extruder|meshgroup|globally] instead of global_only (CURA-1560)

This commit is contained in:
Tim Kuipers 2016-06-08 10:50:40 +02:00
parent fc0a3c8347
commit 2e2437d163
2 changed files with 7 additions and 4 deletions

View file

@ -190,11 +190,11 @@ Item {
{
if(text != "")
{
listview.model.filter = {"global_only": false, "label": "*" + text}
listview.model.filter = {"settable_per_mesh": true, "label": "*" + text}
}
else
{
listview.model.filter = {"global_only": false}
listview.model.filter = {"settable_per_mesh": true}
}
}
}
@ -219,7 +219,7 @@ Item {
containerId: Cura.MachineManager.activeDefinitionId
filter:
{
"global_only": false
"settable_per_mesh": true
}
visibilityHandler: UM.SettingPreferenceVisibilityHandler {}
}