diff options
author | Oz Linden <oz@lindenlab.com> | 2014-04-22 13:05:26 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-04-22 13:05:26 -0400 |
commit | b4ca93cadce90466d41704b68933c21fe909bcb8 (patch) | |
tree | 34b19278571d885a42c5ae31baeb5af532e7ea39 /indra/newview/llavataractions.cpp | |
parent | cd382d08c84e2d984a4a20888280084daa290c3f (diff) | |
parent | b1a7137ba6e56e1b692205f129d86acc942209e9 (diff) |
merge up to 3.7.6-release
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rwxr-xr-x | indra/newview/llavataractions.cpp | 4 |
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 |