summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2011-03-30 09:23:48 -0400
committerJonathan Yap <none@none>2011-03-30 09:23:48 -0400
commit85c97c19347c1409f8f7231940b0b8f3a57fc0a5 (patch)
tree9aa41d385854c5a4cda892ec94a1ab930b82d65b /indra/newview/llimfloater.cpp
parent567035a2f758fc99ab09b8c9e802dfc881fc301b (diff)
STORM-1094 Added 2 lines so new IM windows pick up the font setting
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index a15d134f87..50a9c56518 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -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) );