diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-12 21:11:36 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-12 21:11:36 +0300 |
commit | 37530c9d736d90ec29b97e3567346a02e2826f97 (patch) | |
tree | ce6bbd2c701e9c0bc86a839918bc7f9801ddb4f9 /indra/newview/llinventorypanel.cpp | |
parent | c6d2bf93c02c6099f4c86a3379c3e82e21f9f37e (diff) |
SL-19544 WIP hide inventory pane in Combination view, if there is no visible items
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index cc81b53841..2193743a38 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -2221,6 +2221,10 @@ void LLInventorySingleFolderPanel::updateSingleFolderRoot() } } +bool LLInventorySingleFolderPanel::hasVisibleItems() +{ + return mFolderRoot.get()->hasVisibleChildren(); +} /************************************************************************/ /* Asset Pre-Filtered Inventory Panel related class */ /************************************************************************/ |