Fix typo in MessageEditComponent

This commit is contained in:
Joshua Goins
2024-03-15 15:12:46 -04:00
parent e2eb6ab33c
commit 2846def00f

View File

@@ -171,7 +171,7 @@ QQC2.TextArea {
function updateEditText() {
// This could possibly be undefined due to some esoteric QtQuick issue. Referencing it somewhere in JS is enough.
documentHandler.textDocument;
documentHandler.document;
if (chatBarCache?.isEditing && chatBarCache.relationMessage.length > 0) {
root.text = chatBarCache.relationMessage;
chatBarCache.updateMentions(root.textDocument, documentHandler);