Skip to content
Snippets Groups Projects
Commit 8b7f4d4e authored by Vadim ProductEngine's avatar Vadim ProductEngine
Browse files

STORM-1600 FIXED Folder view stole "Delete" key presses from the line editor...

STORM-1600 FIXED Folder view stole "Delete" key presses from the line editor when renaming a newly created inventory item.

Reason:
LLFocusMgr::setKeyboardFocus() which is called from LLLineEditor::setFocus()
makes the folder view the edit menu handler, thus it receives the Delete key
presses instead of the line editor.

Fix:
Make sure the line editor becomes the edit menu handler whenever it's focused,
no matter is it a child of a folder view or not.
parent 2fba01d1
No related branches found
No related tags found
No related merge requests found
...@@ -198,6 +198,7 @@ LLLineEditor::~LLLineEditor() ...@@ -198,6 +198,7 @@ LLLineEditor::~LLLineEditor()
void LLLineEditor::onFocusReceived() void LLLineEditor::onFocusReceived()
{ {
gEditMenuHandler = this;
LLUICtrl::onFocusReceived(); LLUICtrl::onFocusReceived();
updateAllowingLanguageInput(); updateAllowingLanguageInput();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment