All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

STORM-1600 Error in focus while naming a new item - may lead to content loss

Review Request #478 - Created Sept. 16, 2011 and submitted

Vadim ProductEngine Reviewers
viewer
STORM-1600 richard.linden
None viewer-development
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.

 
Ship it!
Posted (Sept. 16, 2011, 10:19 a.m.)
seems reasonable