Commit cb7c6c77 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

emojier: use TextField.accepted rather than TextField.editingFinished

editingFinished would get triggered when the window changes and would
feel unpredictable.
parent 4a0ff7bb
......@@ -42,7 +42,7 @@ Kirigami.ScrollablePage
emojiView.currentIndex = 0
}
}
onEditingFinished: {
onAccepted: {
if (emojiView.currentItem)
emojiView.currentItem.reportEmoji()
}
......
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