From a52066c2ec98c4ead9d72c726c284762924b5d92 Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Fri, 20 Feb 2026 18:18:50 +0200 Subject: #5396 Add an option to hide Recent, Worn and Favorites tabs * #5396 Add an option to hide Recent, Worn and Favorites tabs * #5396 skip tabs initialization if hidden --- indra/llui/lltabcontainer.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'indra/llui/lltabcontainer.cpp') diff --git a/indra/llui/lltabcontainer.cpp b/indra/llui/lltabcontainer.cpp index 5e0985c79c..48e42d9fc0 100644 --- a/indra/llui/lltabcontainer.cpp +++ b/indra/llui/lltabcontainer.cpp @@ -2202,3 +2202,16 @@ void LLTabContainer::setTabVisibility( LLPanel const *aPanel, bool aVisible ) updateMaxScrollPos(); } + +bool LLTabContainer::getTabVisibility(const LLPanel* panel) const +{ + for (tuple_list_t::const_iterator itr = mTabList.begin(); itr != mTabList.end(); ++itr) + { + LLTabTuple const* pTT = *itr; + if (pTT->mTabPanel == panel) + { + return pTT->mVisible; + } + } + return false; +} -- cgit v1.3