summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-04-22 13:05:26 -0400
committerOz Linden <oz@lindenlab.com>2014-04-22 13:05:26 -0400
commitb4ca93cadce90466d41704b68933c21fe909bcb8 (patch)
tree34b19278571d885a42c5ae31baeb5af532e7ea39 /indra/newview/llavataractions.cpp
parentcd382d08c84e2d984a4a20888280084daa290c3f (diff)
parentb1a7137ba6e56e1b692205f129d86acc942209e9 (diff)
merge up to 3.7.6-release
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rwxr-xr-xindra/newview/llavataractions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index 70cc48f12b..307e72fe18 100755
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -868,6 +868,10 @@ bool LLAvatarActions::canShareSelectedItems(LLInventoryPanel* inv_panel /* = NUL
// check selection in the panel
LLFolderView* root_folder = inv_panel->getRootFolder();
+ if (!root_folder)
+ {
+ return false;
+ }
const std::set<LLFolderViewItem*> inventory_selected = root_folder->getSelectionList();
if (inventory_selected.empty()) return false; // nothing selected