Commit ea70ae86 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 馃惂
Browse files

[Emoji panel] fix slowness introduced in the last patch

馃憦
parent 3e6b64e6
......@@ -57,7 +57,9 @@ Kirigami.ScrollablePage
onTextChanged: {
emojiModel.search = text
if (emojiView.currentIndex < 0) {
emojiView.currentIndex = 0
Qt.callLater(function() {
emojiView.currentIndex = 0
})
}
}
onAccepted: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment