Minor adjustment for cross-platform
Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user