make autoreplace, aka autocorrect, work in chat again
parent
4a7a8a5e9f
commit
ee7c476bf3
|
|
@ -1,6 +1,4 @@
|
|||
/*
|
||||
#include "llautoreplace.h"
|
||||
mChatBox->setAutoreplaceCallback(boost::bind(&LLAutoReplace::autoreplaceCallback, LLAutoReplace::getInstance(), _1, _2));
|
||||
|
||||
This file is not used by Firestorm. It's being kept in place to track merges.
|
||||
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@
|
|||
#include "llkeyboard.h"
|
||||
#include "llgesturemgr.h"
|
||||
#include "llmultigesture.h"
|
||||
#include "llautoreplace.h"
|
||||
|
||||
// #include "llconsole.h"
|
||||
// #include "fscontactsfloater.h"
|
||||
|
|
@ -100,6 +101,7 @@ static LLChatTypeTrigger sChatTypeTriggers[] = {
|
|||
LLNearbyChatControl::LLNearbyChatControl(const LLNearbyChatControl::Params& p) :
|
||||
LLLineEditor(p)
|
||||
{
|
||||
setAutoreplaceCallback(boost::bind(&LLAutoReplace::autoreplaceCallback, LLAutoReplace::getInstance(), _1, _2));
|
||||
setKeystrokeCallback(onKeystroke,this);
|
||||
LLNearbyChat::instance().registerChatBar(this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue