mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
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:
parent
22826bc4d8
commit
65f7eb5ea8
2 changed files with 40 additions and 1 deletions
|
@ -48,6 +48,8 @@ Item
|
|||
id: searchBar
|
||||
Layout.fillWidth: true
|
||||
height: createNewProjectButton.height
|
||||
|
||||
onTextEdited: manager.projectFilter = text
|
||||
}
|
||||
|
||||
Cura.SecondaryButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue