[SMS app] Search case insensitive

This commit is contained in:
Nicolas Fella 2018-08-06 00:32:12 +02:00
parent 5f63f78f77
commit 3437fa5a39

View file

@ -68,7 +68,7 @@ Kirigami.ScrollablePage
placeholderText: i18n("Filter...")
width: parent.width
onTextChanged: {
view.model.filterRegExp = new RegExp(filter.text)
view.model.filterRegExp = new RegExp(filter.text, "i")
view.currentIndex = 0
}
Keys.onUpPressed: view.currentIndex = Math.max(view.currentIndex-1, 0)