SL-13852 Show menu below the button

meow-7.2.2
Mnikolenko Productengine 2020-09-01 20:03:03 +03:00
parent 18566c5023
commit bac27a9d74
1 changed files with 1 additions and 0 deletions

View File

@ -1168,6 +1168,7 @@ void LLPanelMainInventory::initListCommandsHandlers()
mMenuVisibility = LLUICtrlFactory::getInstance()->createFromFile<LLToggleableMenu>("menu_inventory_search_visibility.xml", gMenuHolder, LLViewerMenuHolderGL::child_registry_t::instance());
mVisibilityMenuButton->setMenu(mMenuVisibility);
mVisibilityMenuButton->setMenuPosition(LLMenuButton::MP_BOTTOM_LEFT);
// Update the trash button when selected item(s) get worn or taken off.
LLOutfitObserver::instance().addCOFChangedCallback(boost::bind(&LLPanelMainInventory::updateListCommands, this));