diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-05-22 05:50:50 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-22 05:50:50 +0800 |
commit | 0a11db8b5d0ace1b83c1b542bc966913fecb3f2a (patch) | |
tree | 3ab0baf0cc0d0a281f21be67ffcae7bc770c17a1 /indra/llui/llchatmentionhelper.cpp | |
parent | f900a9ae67c61b3e53c36c119440cbc3710a2f7c (diff) | |
parent | a31b7ae2419b4f644ddf559274f650e34212338e (diff) |
Merge tag 'Second_Life_Release#a31b7ae2-Second_Life_Release#a31b7ae-2025.04' into 2025.04
Diffstat (limited to 'indra/llui/llchatmentionhelper.cpp')
-rw-r--r-- | indra/llui/llchatmentionhelper.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llui/llchatmentionhelper.cpp b/indra/llui/llchatmentionhelper.cpp index f7769b2cbe..5745389a58 100644 --- a/indra/llui/llchatmentionhelper.cpp +++ b/indra/llui/llchatmentionhelper.cpp @@ -98,7 +98,14 @@ void LLChatMentionHelper::showHelper(LLUICtrl* host_ctrl, S32 local_x, S32 local LLRect rect = av_picker_floater->getRect(); rect.setLeftTopAndSize(floater_x, floater_y + rect.getHeight(), rect.getWidth(), rect.getHeight()); av_picker_floater->setRect(rect); - av_picker_floater->openFloater(LLSD().with("av_name", av_name)); + if (av_picker_floater->isShown()) + { + av_picker_floater->onOpen(LLSD().with("av_name", av_name)); + } + else + { + av_picker_floater->openFloater(LLSD().with("av_name", av_name)); + } } void LLChatMentionHelper::hideHelper(const LLUICtrl* ctrl) |