diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-07-18 01:56:42 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-07-18 01:56:42 +0300 |
commit | bc3f2d53d10c64ccded6aaa14ea37eac78ef6856 (patch) | |
tree | cf78de68ab8ad66719659cf858fb073b4d2c4a13 /indra/llui/lllayoutstack.cpp | |
parent | 37f41392cdb90f2b918828f0bc2b22f6705b6db4 (diff) |
SL-19891 Make sure focusable elements clear focus on destruction
Diffstat (limited to 'indra/llui/lllayoutstack.cpp')
-rw-r--r-- | indra/llui/lllayoutstack.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp index ae9dba5945..7b22f9dbdc 100644 --- a/indra/llui/lllayoutstack.cpp +++ b/indra/llui/lllayoutstack.cpp @@ -89,6 +89,8 @@ LLLayoutPanel::~LLLayoutPanel() // probably not necessary, but... delete mResizeBar; mResizeBar = NULL; + + gFocusMgr.removeKeyboardFocusWithoutCallback(this); } F32 LLLayoutPanel::getAutoResizeFactor() const |