From 6e91a9cc3d5a610198cf526a76e2ab642f10ecd7 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:59 -0500 Subject: Second Life viewer sources 1.20.13 --- linden/indra/newview/llfloatereditui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'linden/indra/newview/llfloatereditui.cpp') diff --git a/linden/indra/newview/llfloatereditui.cpp b/linden/indra/newview/llfloatereditui.cpp index 83c69b5..dfb0571 100644 --- a/linden/indra/newview/llfloatereditui.cpp +++ b/linden/indra/newview/llfloatereditui.cpp @@ -48,6 +48,10 @@ void LLFloaterEditUI::navigateHierarchyButtonPressed(void* data) LLView* view = LLView::sEditingUIView; if( !view ) return; LLView* parent = view->getParent(); + if(!parent) + { + return ; + } const LLView::child_list_t* viewChildren = view->getChildList(); const LLView::child_list_t* parentChildren = parent->getChildList(); //LLView::child_list_t::iterator -- cgit v1.1