summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2026-05-15 19:11:26 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-05-20 04:22:24 +0300
commitd53041d9ea1687febf2d9e7c38ac5d4be3c8eae0 (patch)
tree34313f98874bfa18ff2ff24f2b7801d6bdbc99a1
parent87b333f9cfb4cd7efc3aa38bcd94cc62ecbec1e8 (diff)
#5804 Prevent focus steal when removing unselected conversation widget
-rw-r--r--indra/newview/llfloaterimcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp
index a0f2dbe197..e80133f93c 100644
--- a/indra/newview/llfloaterimcontainer.cpp
+++ b/indra/newview/llfloaterimcontainer.cpp
@@ -1948,7 +1948,7 @@ bool LLFloaterIMContainer::removeConversationListItem(const LLUUID& uuid, bool c
mConversationEventQueue.erase(uuid);
// Don't let the focus fall IW, select and refocus on the first conversation in the list
- if (change_focus && isInVisibleChain())
+ if (change_focus && is_widget_selected && isInVisibleChain())
{
setFocus(true);
if (new_selection)