summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-18 01:56:42 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-07-18 01:56:42 +0300
commitbc3f2d53d10c64ccded6aaa14ea37eac78ef6856 (patch)
treecf78de68ab8ad66719659cf858fb073b4d2c4a13 /indra/llui/llfolderviewitem.cpp
parent37f41392cdb90f2b918828f0bc2b22f6705b6db4 (diff)
SL-19891 Make sure focusable elements clear focus on destruction
Diffstat (limited to 'indra/llui/llfolderviewitem.cpp')
-rw-r--r--indra/llui/llfolderviewitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llfolderviewitem.cpp b/indra/llui/llfolderviewitem.cpp
index e2b5279aab..5319af1b60 100644
--- a/indra/llui/llfolderviewitem.cpp
+++ b/indra/llui/llfolderviewitem.cpp
@@ -177,6 +177,7 @@ LLFolderViewItem::LLFolderViewItem(const LLFolderViewItem::Params& p)
LLFolderViewItem::~LLFolderViewItem()
{
mViewModelItem = NULL;
+ gFocusMgr.removeKeyboardFocusWithoutCallback(this);
}
BOOL LLFolderViewItem::postBuild()