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

emojier: only report emoji if there's one to report

parent 6f4dec8e
......@@ -41,7 +41,8 @@ Kirigami.ScrollablePage
}
}
onEditingFinished: {
emojiView.currentItem.reportEmoji()
if (emojiView.currentItem)
emojiView.currentItem.reportEmoji()
}
height: visible ? implicitHeight : 0
visible: false
......
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