[SMS app] Search case insensitive
This commit is contained in:
parent
5f63f78f77
commit
3437fa5a39
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ Kirigami.ScrollablePage
|
||||||
placeholderText: i18n("Filter...")
|
placeholderText: i18n("Filter...")
|
||||||
width: parent.width
|
width: parent.width
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
view.model.filterRegExp = new RegExp(filter.text)
|
view.model.filterRegExp = new RegExp(filter.text, "i")
|
||||||
view.currentIndex = 0
|
view.currentIndex = 0
|
||||||
}
|
}
|
||||||
Keys.onUpPressed: view.currentIndex = Math.max(view.currentIndex-1, 0)
|
Keys.onUpPressed: view.currentIndex = Math.max(view.currentIndex-1, 0)
|
||||||
|
|
Loading…
Reference in a new issue