Woops, these are needed since the change of name to line editor

This commit is contained in:
Liru Færs
2019-10-09 17:42:05 -04:00
parent f80e23ac5e
commit 11068eee38
2 changed files with 4 additions and 6 deletions

View File

@@ -1297,9 +1297,8 @@ void LLPanelAvatar::setAvatarID(const LLUUID &avatar_id)
mCacheConnection.disconnect();
mCacheConnection = LLAvatarNameCache::get(avatar_id, boost::bind(&LLPanelAvatar::onAvatarNameResponse, this, _1, _2));
LLNameEditor* key_edit = getChild<LLNameEditor>("avatar_key");
if (key_edit)
key_edit->setText(mAvatarID.asString());
if (auto key_edit = getChildView("avatar_key"))
key_edit->setValue(mAvatarID.asString());
// While we're waiting for data off the network, clear out the old data.
if (mPanelSecondLife)