FIRE-8327: Fixed RLV forbid inventory does not close secondary inventory window

meow-7.2.2
Ansariel 2012-11-25 21:26:48 +01:00
parent 0065aef7ad
commit 6f7de9a6f8
1 changed files with 4 additions and 0 deletions

View File

@ -211,6 +211,10 @@ void RlvUIEnabler::onToggleShowInv(bool fQuitting)
LLFloaterReg::const_instance_list_t lFloaters = LLFloaterReg::getFloaterList("inventory");
for (LLFloaterReg::const_instance_list_t::const_iterator itFloater = lFloaters.begin(); itFloater != lFloaters.end(); ++itFloater)
(*itFloater)->closeFloater();
LLFloaterReg::const_instance_list_t lSecFloaters = LLFloaterReg::getFloaterList("secondary_inventory");
for (LLFloaterReg::const_instance_list_t::const_iterator itSecFloater = lSecFloaters.begin(); itSecFloater != lSecFloaters.end(); ++itSecFloater)
(*itSecFloater)->closeFloater();
}
//