Skip to content
Snippets Groups Projects
Commit eb1d043d authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-203

Checker: REVERSE_INULL
Function: LLTabContainer::addTabPanel(const LLTabContainer::TabPanelParams &)
File: /indra/llui/lltabcontainer.cpp
parent 1936b576
No related branches found
No related tags found
No related merge requests found
...@@ -891,6 +891,10 @@ void LLTabContainer::update_images(LLTabTuple* tuple, TabParams params, LLTabCon ...@@ -891,6 +891,10 @@ void LLTabContainer::update_images(LLTabTuple* tuple, TabParams params, LLTabCon
void LLTabContainer::addTabPanel(const TabPanelParams& panel) void LLTabContainer::addTabPanel(const TabPanelParams& panel)
{ {
LLPanel* child = panel.panel(); LLPanel* child = panel.panel();
llassert(child);
if (!child) return;
const std::string& label = panel.label.isProvided() const std::string& label = panel.label.isProvided()
? panel.label() ? panel.label()
: panel.panel()->getLabel(); : panel.panel()->getLabel();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment