From 03cfead241af5020c5c7a35692c4227f92962335 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 19 Aug 2021 15:45:43 +0200 Subject: [PATCH] fix(@desktop/timeline): Fix leaving the timeline chat fixes #3249 --- ui/shared/status/StatusChatInput.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/shared/status/StatusChatInput.qml b/ui/shared/status/StatusChatInput.qml index 1aa0bf6007..fbd5924425 100644 --- a/ui/shared/status/StatusChatInput.qml +++ b/ui/shared/status/StatusChatInput.qml @@ -834,9 +834,6 @@ Rectangle { anchors.right: actions.left anchors.rightMargin: Style.current.halfPadding ScrollBar.horizontal.policy: ScrollBar.AlwaysOff - StatusSyntaxHighlighter { - quickTextDocument: messageInputField.textDocument - } TextArea { id: messageInputField @@ -886,6 +883,10 @@ Rectangle { lastClick = now } + StatusSyntaxHighlighter { + quickTextDocument: messageInputField.textDocument + } + StatusTextFormatMenu { readonly property var formationChars: (["*", "`", "~"]) property string selectedTextWithFormationChars: {