mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:49:03 +08:00
changed filter from "id" to "name" as both are different
CURA-11003
This commit is contained in:
parent
f35865e3c4
commit
7a6f195b74
@ -120,7 +120,7 @@ Item
|
|||||||
onTextChanged: printerSearchTimer.restart()
|
onTextChanged: printerSearchTimer.restart()
|
||||||
onEditingFinished:
|
onEditingFinished:
|
||||||
{
|
{
|
||||||
machineDefinitionsModel.filter = {"id" : "*" + text.toLowerCase() + "*", "visible": true}
|
machineDefinitionsModel.filter = {"name" : "*" + text.toLowerCase() + "*", "visible": true}
|
||||||
base.hasSearchFilter = (text.length > 0)
|
base.hasSearchFilter = (text.length > 0)
|
||||||
updateDefinitionModel()
|
updateDefinitionModel()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user