Fixed normal bug EXT-6659("Ctrl+A" combination allows selecting of several picks) - added check that multiple selection is allowed
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/146/ --HG-- branch : product-enginemaster
parent
7263906f49
commit
7f38ea1474
|
|
@ -562,8 +562,7 @@ BOOL LLFlatListView::handleKeyHere(KEY key, MASK mask)
|
|||
{
|
||||
if(MASK_CONTROL & mask)
|
||||
{
|
||||
selectAll();
|
||||
handled = TRUE;
|
||||
handled = (BOOL)selectAll();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
@ -793,7 +792,7 @@ bool LLFlatListView::selectNextItemPair(bool is_up_direction, bool reset_selecti
|
|||
|
||||
bool LLFlatListView::selectAll()
|
||||
{
|
||||
if (!mAllowSelection)
|
||||
if (!mAllowSelection || !mMultipleSelection)
|
||||
return false;
|
||||
|
||||
mSelectedItemPairs.clear();
|
||||
|
|
|
|||
Loading…
Reference in New Issue