mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Delay on timeline search
This commit is contained in:
parent
26564c98c7
commit
29121d53f8
1 changed files with 7 additions and 1 deletions
|
|
@ -339,8 +339,14 @@ Rectangle {
|
|||
//: 'Search in the list' : ths is a placeholder when searching something in the timeline list
|
||||
placeholderText: qsTr('timelineSearchPlaceholderText')
|
||||
|
||||
onTextChanged: timeline.model.filterText = text
|
||||
onTextChanged: searchDelay.restart()
|
||||
font.pointSize: TimelineStyle.searchField.pointSize
|
||||
Timer{
|
||||
id: searchDelay
|
||||
interval: 600
|
||||
repeat: false
|
||||
onTriggered: timeline.model.filterText = searchBar.text
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue