mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 21:05:54 +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")
|
||||
}
|
||||
|
||||
onTextChanged: filter.editingFinished()
|
||||
onTextChanged: editingFinished()
|
||||
onEditingFinished:
|
||||
{
|
||||
machineDefinitionsModel.filter = {"name" : "*" + text.toLowerCase() + "*", "visible": true}
|
||||
|
Loading…
x
Reference in New Issue
Block a user