MAINT-867 Inventory dialog stays in transparent mode after object was taken to inventory

meow-7.2.2
Mnikolenko ProductEngine 2016-02-15 11:07:56 +02:00
parent 7d0a285958
commit 9cc913b36d
1 changed files with 5 additions and 0 deletions

View File

@ -1332,6 +1332,11 @@ void LLInventoryPanel::openInventoryPanelAndSetSelection(BOOL auto_open, const L
}
else
{
LLFloater* floater_inventory = LLFloaterReg::getInstance("inventory");
if (floater_inventory)
{
floater_inventory->setFocus(TRUE);
}
active_panel->setSelection(obj_id, TAKE_FOCUS_YES);
}
}