diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2026-05-15 19:11:26 +0300 |
|---|---|---|
| committer | Andrey Lihatskiy <118752495+marchcat@users.noreply.github.com> | 2026-05-18 17:37:40 +0300 |
| commit | d3e12a53ff947febfaad598183ecb07df717774b (patch) | |
| tree | 5683c14051dbe292b201eaa3d7b85c6b2f85c2a8 | |
| parent | 4cf0f55c6b1b72084544d087e76bfd72c27d9f8e (diff) | |
#5804 Prevent focus steal when removing unselected conversation widget
| -rw-r--r-- | indra/newview/llfloaterimcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 21f1ed831d..10c56bdb46 100644 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -1956,7 +1956,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) |
