summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarks.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-23 13:57:42 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-23 13:57:42 +0000
commit7b9dc9f8d72d9eb25e1dbc06f78f2fc81ac64ae0 (patch)
tree999b614ca73aea40375e9b716929fa0f0ff7a8b3 /indra/newview/llpanellandmarks.cpp
parent5893d3c47ecb8d422bb4161f752762dc7289eae0 (diff)
CID-452
Checker: FORWARD_NULL Function: LLLandmarksPanel::isActionEnabled(const LLSD &) const File: /indra/newview/llpanellandmarks.cpp
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r--indra/newview/llpanellandmarks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp
index 4842fcac38..e3b8581aca 100644
--- a/indra/newview/llpanellandmarks.cpp
+++ b/indra/newview/llpanellandmarks.cpp
@@ -946,7 +946,8 @@ bool LLLandmarksPanel::isActionEnabled(const LLSD& userdata) const
)
{
// disable some commands for multi-selection. EXT-1757
- if (root_folder_view->getSelectedCount() > 1)
+ if (root_folder_view &&
+ root_folder_view->getSelectedCount() > 1)
{
return false;
}