From a1c193a41882e23f7e969919b786979c4e4f12d2 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 17 Oct 2012 21:07:09 +0200 Subject: [PATCH] Fixed nearby chat control not obeying font size --- indra/newview/llnearbychatcontrol.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llnearbychatcontrol.cpp b/indra/newview/llnearbychatcontrol.cpp index cf79b0ca32..8f0af8031f 100644 --- a/indra/newview/llnearbychatcontrol.cpp +++ b/indra/newview/llnearbychatcontrol.cpp @@ -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()