STORM-1094 Added 2 lines so new IM windows pick up the font setting

master
Jonathan Yap 2011-03-30 09:23:48 -04:00
parent 567035a2f7
commit 85c97c1934
1 changed files with 3 additions and 1 deletions

View File

@ -267,7 +267,9 @@ BOOL LLIMFloater::postBuild()
mInputEditor->setMaxTextLength(1023);
// enable line history support for instant message bar
mInputEditor->setEnableLineHistory(TRUE);
LLFontGL* font = LLViewerChat::getChatFont();
mInputEditor->setFont(font);
mInputEditor->setFocusReceivedCallback( boost::bind(onInputEditorFocusReceived, _1, this) );
mInputEditor->setFocusLostCallback( boost::bind(onInputEditorFocusLost, _1, this) );