mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 10:13:16 +08:00
Per object settings filter now uses correct bool types (instead of strings)
CURA-1278
This commit is contained in:
parent
fd3788ba7c
commit
5f54d611cf
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user