mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
fix #LINQT-1885 start research in messages with arrow buttons as well
This commit is contained in:
parent
e6266dcaf2
commit
60ebaf73a9
1 changed files with 12 additions and 2 deletions
|
|
@ -205,12 +205,22 @@ FocusScope {
|
||||||
RoundButton {
|
RoundButton {
|
||||||
icon.source: AppIcons.upArrow
|
icon.source: AppIcons.upArrow
|
||||||
style: ButtonStyle.noBackground
|
style: ButtonStyle.noBackground
|
||||||
onClicked: chatMessagesListView.findIndexWithFilter(false)
|
onClicked: {
|
||||||
|
if (chatMessagesListView.filterText !== chatMessagesSearchBar.text)
|
||||||
|
chatMessagesListView.filterText = chatMessagesSearchBar.text
|
||||||
|
else
|
||||||
|
chatMessagesListView.findIndexWithFilter(false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
RoundButton {
|
RoundButton {
|
||||||
icon.source: AppIcons.downArrow
|
icon.source: AppIcons.downArrow
|
||||||
style: ButtonStyle.noBackground
|
style: ButtonStyle.noBackground
|
||||||
onClicked: chatMessagesListView.findIndexWithFilter(true)
|
onClicked: {
|
||||||
|
if (chatMessagesListView.filterText !== chatMessagesSearchBar.text)
|
||||||
|
chatMessagesListView.filterText = chatMessagesSearchBar.text
|
||||||
|
else
|
||||||
|
chatMessagesListView.findIndexWithFilter(true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RoundButton {
|
RoundButton {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue