diff options
author | Don Kjer <don@lindenlab.com> | 2012-05-29 20:41:10 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-05-29 20:41:10 +0000 |
commit | 2d3790b2396534de096244bf7b7660ec5ec3a139 (patch) | |
tree | 1cbe6616b0f1ef728370b73ad453857caf2eb53e /indra/newview/llavataractions.cpp | |
parent | 2a62ca5b96d08ad2f24e8a60e161657a7222aba6 (diff) | |
parent | a519e34f02b4b2663fe082ba9ad12f1b423669cb (diff) |
Merge ssh://hg@bitbucket.org/lindenlab/viewer-release -> viewer-eventapi-fixes
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 9a7cdcfa21..f618af9536 100755 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -738,6 +738,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"); |