Add function to update search filter when the user types

Seems to work fine.
The pyqtSignal is not technically necessary unless we display this filter in the interface anywhere. We don't currently. If the signal is not present it would complain about non-notifyable properties. And making it a slot instead of a signal seems a bit unintuitive to me in how the field is being used.

Contributes to issue CURA-8009.
This commit is contained in:
Ghostkeeper 2021-07-12 17:41:10 +02:00
parent 22826bc4d8
commit 65f7eb5ea8
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 40 additions and 1 deletions

View file

@ -48,6 +48,8 @@ Item
id: searchBar
Layout.fillWidth: true
height: createNewProjectButton.height
onTextEdited: manager.projectFilter = text
}
Cura.SecondaryButton