Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer into VoiceUpdate
This commit is contained in:
@@ -546,7 +546,7 @@ BOOL LLPanelAvatarFirstLife::postBuild(void)
|
||||
|
||||
BOOL LLPanelAvatarNotes::postBuild(void)
|
||||
{
|
||||
childSetCommitCallback("notes edit",onCommitNotes,this);
|
||||
getChild<LLUICtrl>("notes edit")->setCommitCallback(boost::bind(&LLPanelAvatar::sendAvatarNotesUpdate, getPanelAvatar()));
|
||||
|
||||
LLTextEditor* te = getChild<LLTextEditor>("notes edit");
|
||||
if(te) te->setCommitOnFocusLost(TRUE);
|
||||
@@ -897,14 +897,6 @@ void LLPanelAvatarNotes::clearControls()
|
||||
childSetEnabled("notes edit", false);
|
||||
}
|
||||
|
||||
// static
|
||||
void LLPanelAvatarNotes::onCommitNotes(LLUICtrl*, void* userdata)
|
||||
{
|
||||
LLPanelAvatarNotes* self = (LLPanelAvatarNotes*)userdata;
|
||||
|
||||
self->getPanelAvatar()->sendAvatarNotesUpdate();
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// LLPanelAvatarClassified()
|
||||
|
||||
Reference in New Issue
Block a user