Fix issue of Enter not reliably opening items

This commit is contained in:
Lirusaito
2019-07-10 03:33:05 -04:00
parent 1920f529be
commit 94cf62f510

View File

@@ -585,7 +585,7 @@ void LLFolderViewItem::buildContextMenu(LLMenuGL& menu, U32 flags)
void LLFolderViewItem::openItem( void )
{
if (!mListener) return;
if (mAllowWear || mListener->isItemWearable())
//if (mAllowWear || mListener->isItemWearable()) // Singu Note: This will do nothing if can't do anything, so just call it
{
mListener->openItem();
}