Minor adjustment for cross-platform

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-12 23:26:32 -04:00
parent 7c340e880d
commit 6c78cca90b

View File

@@ -327,7 +327,7 @@ BOOL LLFloaterAO::postBuild(void)
combo->setCallbackUserData(this);
combo->selectFirstItem();
mAnimTypeCombo = combo;
mCurrentAnimType = mAnimTypeCombo->getValue();
mCurrentAnimType = mAnimTypeCombo->getValue().asString();
combo = getChild<LLComboBox>( "combo_anim_list");
mAnimListCombo = combo;
@@ -361,7 +361,7 @@ void LLFloaterAO::refresh()
void LLFloaterAO::onCommitType(LLUICtrl* ctrl, void* user_data)
{
LLFloaterAO* floater = (LLFloaterAO*)user_data;
floater->mCurrentAnimType = floater->mAnimTypeCombo->getValue();
floater->mCurrentAnimType = floater->mAnimTypeCombo->getValue().asString();
floater->refresh();
}