- fixed : clicking the "Chat" toolbar button doesn't hide the conversations floater when the nearby chat floater is tabbed

--HG--
branch : Chat-NearbyChat
master
Kitty Barnett 2011-11-17 17:08:22 +01:00
parent 9bd8e92b0b
commit 854e4c475b
1 changed files with 8 additions and 1 deletions

View File

@ -508,7 +508,14 @@ void LLFloaterReg::toggleInstanceOrBringToFront(const LLSD& sdname, const LLSD&
}
else
{
instance->closeFloater();
// instance->closeFloater();
// [SL:KB] - Patch: Chat-NearbyChatBar | Checked: 2011-11-17 (Catznip-3.2.0a) | Added: Catznip-3.2.0a
// When toggling *visibility*, close the host instead of the floater when hosted
if (instance->getHost())
instance->getHost()->closeFloater();
else
instance->closeFloater();
// [/SL:KB]
}
}