diff options
author | callum <none@none> | 2012-06-15 14:17:21 -0700 |
---|---|---|
committer | callum <none@none> | 2012-06-15 14:17:21 -0700 |
commit | 0ff6275a654eda55662fab8d89d9ff4d278438d8 (patch) | |
tree | cc9bee7b3aae707870405fa5ee58589c8d6161f3 /indra/newview/llavataractions.cpp | |
parent | 4985938269a91387e481731d469a0f1ca34e22a8 (diff) | |
parent | a1d0d67e05c45bdc1a7a8bb0aad79772a2a94f6e (diff) |
Merge with tip
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rwxr-xr-x | indra/newview/llavataractions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index 267e0f03b9..fdd4565e50 100755 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -744,6 +744,11 @@ void LLAvatarActions::shareWithAvatars() LLFloaterAvatarPicker* picker = LLFloaterAvatarPicker::show(boost::bind(give_inventory, _1, _2), TRUE, FALSE); + if (!picker) + { + return; + } + picker->setOkBtnEnableCb(boost::bind(is_give_inventory_acceptable)); picker->openFriendsTab(); LLNotificationsUtil::add("ShareNotification"); |