mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:05:53 +08:00
Refactor textChanged event
helps to increase code readability and maintainability. CURA-11003
This commit is contained in:
parent
66754d837b
commit
7231c273a1
@ -108,7 +108,7 @@ Item
|
|||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
}
|
}
|
||||||
|
|
||||||
onTextChanged: filter.editingFinished()
|
onTextChanged: editingFinished()
|
||||||
onEditingFinished:
|
onEditingFinished:
|
||||||
{
|
{
|
||||||
machineDefinitionsModel.filter = {"name" : "*" + text.toLowerCase() + "*", "visible": true}
|
machineDefinitionsModel.filter = {"name" : "*" + text.toLowerCase() + "*", "visible": true}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user