summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 18:00:06 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 18:00:06 +0000
commitd928ed69a9083c16535aba848e29aaa87d9b1119 (patch)
tree5b1418bd103e6294e1654a8e05d43c471320584c /indra
parent664c659601a9e07d3002cfb65f1624ef24342f4a (diff)
CID-86
Checker: FORWARD_NULL Function: LLLandmarksPanel::initLandmarksPanel(LLPlacesInventoryPanel *) File: /indra/newview/llpanellandmarks.cpp
Diffstat (limited to 'indra')
-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 7c1b0f6234..f1cb6e87a3 100644
--- a/indra/newview/llpanellandmarks.cpp
+++ b/indra/newview/llpanellandmarks.cpp
@@ -526,9 +526,10 @@ void LLLandmarksPanel::initLandmarksPanel(LLPlacesInventoryPanel* inventory_list
{
root_folder->setupMenuHandle(LLInventoryType::IT_CATEGORY, mGearFolderMenu->getHandle());
root_folder->setupMenuHandle(LLInventoryType::IT_LANDMARK, mGearLandmarkMenu->getHandle());
+
+ root_folder->setParentLandmarksPanel(this);
}
- root_folder->setParentLandmarksPanel(this);
inventory_list->saveFolderState();
}