Don't dock the Nearby Chat panel if it's not torn-off [FIRE-1747]

meow-7.2.2
WoLf 2011-08-24 00:47:13 +02:00
parent 955e368f7b
commit 6c8785422a
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ bool LLNearbyChat::isChatMultiTab()
void LLNearbyChat::setDocked(bool docked, bool pop_on_undock)
{
if(!isChatMultiTab())
if((!isChatMultiTab()) && gSavedSettings.getBOOL("ChatHistoryTornOff"))
{
LLDockableFloater::setDocked(docked, pop_on_undock);
}