diff options
author | Merov Linden <merov@lindenlab.com> | 2012-06-07 22:30:54 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-06-07 22:30:54 -0700 |
commit | bc54f1bb89452467ca8b652e4b961444d9c4be8d (patch) | |
tree | b5aac588bc7ec1506456eaf5967e9a7930b42fc0 /indra/newview/llavataractions.cpp | |
parent | 05d721cecfa0c20a6fd8498a18f36cde7014248e (diff) | |
parent | a519e34f02b4b2663fe082ba9ad12f1b423669cb (diff) |
Merge : pull from lindenlab/viewer-release
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 aa626a9a30..c3d560540d 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"); |