From ebcafcfa58634ab7c10fd7185149361616f0fba8 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Mon, 4 Mar 2024 16:04:15 +0100 Subject: [PATCH] Not doing it half-way would help... --- indra/llui/llemojihelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llui/llemojihelper.cpp b/indra/llui/llemojihelper.cpp index d60b2da8ce..cf431b4039 100644 --- a/indra/llui/llemojihelper.cpp +++ b/indra/llui/llemojihelper.cpp @@ -58,8 +58,8 @@ bool LLEmojiHelper::isActive(const LLUICtrl* ctrl_p) const bool LLEmojiHelper::isCursorInEmojiCode(const LLWString& wtext, S32 cursorPos, S32* pShortCodePos) { // FIRE-33735: Option to suppress emoji chooser window from automatically popping up while typing in chat bars - static LLCachedControl FSSuppressEmojiWindowPopupWhileTyping(*LLUI::getInstance()->mSettingGroups["config"], "FSSuppressEmojiWindowPopupWhileTyping"); - if (FSSuppressEmojiWindowPopupWhileTyping) + static LLUICachedControl FSEnableEmojiWindowPopupWhileTyping("FSEnableEmojiWindowPopupWhileTyping"); + if (!FSEnableEmojiWindowPopupWhileTyping) { return false; }