Make disabled lists not jump to the top on clicking an element in them.
parent
f34682962d
commit
d548067dce
|
|
@ -3709,7 +3709,8 @@ BOOL LLScrollListCtrl::operateOnAll(EOperation op)
|
|||
void LLScrollListCtrl::setFocus(BOOL b)
|
||||
{
|
||||
// for tabbing into pristine scroll lists (Finder)
|
||||
if (!getFirstSelected())
|
||||
//if (!getFirstSelected())
|
||||
if (!getFirstSelected() && !getEnabled()) // <FS:LO> make disabled lists not jump to the top on clicking an element in them.
|
||||
{
|
||||
selectFirstItem();
|
||||
//onCommit(); // SJB: selectFirstItem() will call onCommit() if appropriate
|
||||
|
|
|
|||
Loading…
Reference in New Issue