From bbbeda6a264e271edbbb423ef71d764d931d6346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Simon=20Fauteux-Chapleau?= <francois-simon.fauteux-chapleau@savoirfairelinux.com> Date: Mon, 19 Feb 2024 11:13:03 -0500 Subject: [PATCH] EmojiPicker: fix reference error GitLab: #1545 Change-Id: Ie0cdc650a8f1468ed14cb43ccfd223167ddf8b7e --- src/app/mainview/components/ChatView.qml | 4 ++++ src/app/mainview/components/ChatViewFooter.qml | 1 + 2 files changed, 5 insertions(+) diff --git a/src/app/mainview/components/ChatView.qml b/src/app/mainview/components/ChatView.qml index 6e7860488..7c39226dc 100644 --- a/src/app/mainview/components/ChatView.qml +++ b/src/app/mainview/components/ChatView.qml @@ -39,6 +39,10 @@ Rectangle { property var mapPositions: PositionManager.mapStatus + // The purpose of this alias is to make the message bar + // accessible to the EmojiPicker + property alias messageBar: chatViewFooter.messageBar + required property bool inCallView // Hide the extrasPanel when going into a call view, but save the previous diff --git a/src/app/mainview/components/ChatViewFooter.qml b/src/app/mainview/components/ChatViewFooter.qml index f0e806bce..e9deee613 100644 --- a/src/app/mainview/components/ChatViewFooter.qml +++ b/src/app/mainview/components/ChatViewFooter.qml @@ -26,6 +26,7 @@ import "../../commoncomponents" Rectangle { id: root property alias textInput: messageBar.textAreaObj + property alias messageBar: messageBar property string previousConvId property string previousAccountId property bool showTypo: messageBar.showTypo -- GitLab