Commit 851ed08e authored by NiranV's avatar NiranV
Browse files

Changed: Attempt to open inventory when clicking "Show in main panel" and the...

Changed: Attempt to open inventory when clicking "Show in main panel" and the inventory is not opened.
parent d68ef0a7
......@@ -1869,6 +1869,8 @@ void LLInventoryPanel::openInventoryPanelAndSetSelection(BOOL auto_open, const L
LLFloater* floater_inventory = LLFloaterReg::getInstance("inventory");
if (floater_inventory)
{
//BD
floater_inventory->setVisible(TRUE);
floater_inventory->setFocus(TRUE);
}
active_panel->setSelection(obj_id, take_keyboard_focus);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment