- internal : adjusted RlvUIEnabler::onToggleShowInv() for Firestorm

Kitty Barnett 2011-06-11 12:02:46 +02:00
parent 6bfecaea82
commit d5538d9c4e
1 changed files with 6 additions and 0 deletions

View File

@ -267,6 +267,12 @@ void RlvUIEnabler::onToggleShowInv(bool fQuitting)
(*itFloater)->closeFloater();
}
// Enable/disable the "Inventory" bottom tray button
const LLBottomTray* pTray = LLBottomTray::getInstance();
LLView* pBtnView = (pTray) ? pTray->getChildView("sidebar_inv_btn") : NULL;
if (pBtnView)
pBtnView->setEnabled(fEnable);
// Filter out (or stop filtering) newly spawned old style inventory floaters
if (!fEnable)
addGenericFloaterFilter("inventory");