diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloatereditui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
48 | LLView* view = LLView::sEditingUIView; | 48 | LLView* view = LLView::sEditingUIView; |
49 | if( !view ) return; | 49 | if( !view ) return; |
50 | LLView* parent = view->getParent(); | 50 | LLView* parent = view->getParent(); |
51 | if(!parent) | ||
52 | { | ||
53 | return ; | ||
54 | } | ||
51 | const LLView::child_list_t* viewChildren = view->getChildList(); | 55 | const LLView::child_list_t* viewChildren = view->getChildList(); |
52 | const LLView::child_list_t* parentChildren = parent->getChildList(); | 56 | const LLView::child_list_t* parentChildren = parent->getChildList(); |
53 | //LLView::child_list_t::iterator | 57 | //LLView::child_list_t::iterator |