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/llresizehandle.cpp | |
parent | 37f41392cdb90f2b918828f0bc2b22f6705b6db4 (diff) |
SL-19891 Make sure focusable elements clear focus on destruction
Diffstat (limited to 'indra/llui/llresizehandle.cpp')
-rw-r--r-- | indra/llui/llresizehandle.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llresizehandle.cpp b/indra/llui/llresizehandle.cpp index 24794305ac..13ef0fdb7f 100644 --- a/indra/llui/llresizehandle.cpp +++ b/indra/llui/llresizehandle.cpp @@ -70,6 +70,11 @@ LLResizeHandle::LLResizeHandle(const LLResizeHandle::Params& p) } } +LLResizeHandle::~LLResizeHandle() +{ + gFocusMgr.removeKeyboardFocusWithoutCallback(this); +} + BOOL LLResizeHandle::handleMouseDown(S32 x, S32 y, MASK mask) { |