Fix a conflict with the inventory offer button enum and the profile button's index

This commit is contained in:
Inusaito Sayori
2013-08-22 10:09:12 -04:00
parent f90752e81c
commit fea628fd82
2 changed files with 2 additions and 2 deletions

View File

@@ -1391,7 +1391,7 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD&
LLChat chat;
std::string log_message;
S32 button = LLNotificationsUtil::getSelectedOption(notification, response);
if (button == 3) // profile
if (button == 4) // profile
{
LLAvatarActions::showProfile(mFromID);
LLNotification::Params p(notification["name"]);

View File

@@ -6735,7 +6735,7 @@ An object named [OBJECTFROMNAME] owned by (an unknown user) has given you a [OBJ
name="Mute"
text="Mute"/>
<button
index="3"
index="4"
name="Profile"
text="Profile"/>
</form>