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;
|
LLChat chat;
|
||||||
std::string log_message;
|
std::string log_message;
|
||||||
S32 button = LLNotificationsUtil::getSelectedOption(notification, response);
|
S32 button = LLNotificationsUtil::getSelectedOption(notification, response);
|
||||||
if (button == 3) // profile
|
if (button == 4) // profile
|
||||||
{
|
{
|
||||||
LLAvatarActions::showProfile(mFromID);
|
LLAvatarActions::showProfile(mFromID);
|
||||||
LLNotification::Params p(notification["name"]);
|
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"
|
name="Mute"
|
||||||
text="Mute"/>
|
text="Mute"/>
|
||||||
<button
|
<button
|
||||||
index="3"
|
index="4"
|
||||||
name="Profile"
|
name="Profile"
|
||||||
text="Profile"/>
|
text="Profile"/>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user