Fix a conflict with the inventory offer button enum and the profile button's index
This commit is contained in:
@@ -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"]);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user