FIRE-8327: Fixed RLV forbid inventory does not close secondary inventory window
parent
0065aef7ad
commit
6f7de9a6f8
|
|
@ -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();
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue