Fixed nearby chat control not obeying font size

Ansariel 2012-10-17 21:07:09 +02:00
parent 82e9cb106a
commit a1c193a418
1 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,10 @@ LLNearbyChatControl::LLNearbyChatControl(const LLNearbyChatControl::Params& p) :
setIgnoreTab( TRUE );
setReplaceNewlinesWithSpaces( FALSE );
setPassDelete( TRUE );
setFont(LLViewerChat::getChatFont());
// Register for font change notifications
LLViewerChat::setFontChangedCallback(boost::bind(&LLNearbyChatControl::setFont, this, _1));
}
LLNearbyChatControl::~LLNearbyChatControl()