summaryrefslogtreecommitdiff
path: root/indra/llui/lltabcontainer.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-13 15:05:44 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-13 15:05:44 +0000
commit1bb68d936de2657c3bce3bbe64947f043b5f7333 (patch)
tree1c2feca2edc4a64e23e6e1c13bfb16962af865af /indra/llui/lltabcontainer.cpp
parent2aab1d33e125502913075d38d126936d7c2a4a2e (diff)
parent9fee359d1baf6e0046655cb8e4afabb8774754b1 (diff)
viewer2 trunk merge.
Diffstat (limited to 'indra/llui/lltabcontainer.cpp')
-rw-r--r--indra/llui/lltabcontainer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/lltabcontainer.cpp b/indra/llui/lltabcontainer.cpp
index 575b6e3b6c..ffaf84cb9b 100644
--- a/indra/llui/lltabcontainer.cpp
+++ b/indra/llui/lltabcontainer.cpp
@@ -891,6 +891,10 @@ void LLTabContainer::update_images(LLTabTuple* tuple, TabParams params, LLTabCon
void LLTabContainer::addTabPanel(const TabPanelParams& panel)
{
LLPanel* child = panel.panel();
+
+ llassert(child);
+ if (!child) return;
+
const std::string& label = panel.label.isProvided()
? panel.label()
: panel.panel()->getLabel();