Per object settings filter now uses correct bool types (instead of strings)

CURA-1278
This commit is contained in:
Jaime van Kessel 2016-05-25 11:14:11 +02:00
parent fd3788ba7c
commit 5f54d611cf

View file

@ -153,11 +153,11 @@ Item {
{ {
if(text != "") if(text != "")
{ {
listview.model.filter.label = {"global_only":"False", "label": text} listview.model.filter.label = {"global_only": false, "label": text}
} }
else else
{ {
listview.model.filter = {"global_only":"False"} listview.model.filter = {"global_only": false}
} }
} }
} }
@ -182,7 +182,7 @@ Item {
containerId: Cura.MachineManager.activeDefinitionId containerId: Cura.MachineManager.activeDefinitionId
filter: filter:
{ {
"global_only": "False" "global_only": false
} }
} }
delegate:Loader delegate:Loader