summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-01-29 23:03:04 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-01-29 23:03:04 +0200
commitaff37221dd26bc939b58ab959c8183cd36647aa6 (patch)
tree1934dd4181d4c4e597a0924385abe73690c0f36d /indra
parent04c473ab46041133ea6a87dbe0d43e662472adf5 (diff)
SL-14794 Group floater not focusing when clicking on 'more info' or 'view profile'
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llgroupactions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp
index d2bd716f55..65c91b54b7 100644
--- a/indra/newview/llgroupactions.cpp
+++ b/indra/newview/llgroupactions.cpp
@@ -366,6 +366,11 @@ void LLGroupActions::show(const LLUUID& group_id)
params["open_tab_name"] = "panel_group_info_sidetray";
LLFloaterSidePanelContainer::showPanel("people", "panel_group_info_sidetray", params);
+ LLFloater *floater = LLFloaterReg::getTypedInstance<LLFloaterSidePanelContainer>("people");
+ if (!floater->isFrontmost())
+ {
+ floater->setVisibleAndFrontmost(TRUE, params);
+ }
}
void LLGroupActions::refresh_notices()