- fixed : clicking "Show" on an inventory offer opens the inventory floater when @showinv=n restricted

--HG--
branch : RLVa
Kitty Barnett 2012-05-15 19:40:11 +02:00
parent 9015a3b64c
commit 9f03e5c75f
1 changed files with 4 additions and 1 deletions

View File

@ -1161,8 +1161,11 @@ LLInventoryPanel* LLInventoryPanel::getActiveInventoryPanel(BOOL auto_open)
active_inv_floaterp->setMinimized(FALSE);
}
}
else if (auto_open)
// else if (auto_open)
// [RLVa:KB] - Checked: 2012-05-15 (RLVa-1.4.6)
else if ( (auto_open) && (LLFloaterReg::canShowInstance(floater_inventory->getInstanceName())) )
{
// [/RLVa:KB]
floater_inventory->openFloater();
res = inventory_panel->getActivePanel();