diff options
Diffstat (limited to 'indra/llui/llscrollingpanellist.cpp')
-rw-r--r-- | indra/llui/llscrollingpanellist.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/llui/llscrollingpanellist.cpp b/indra/llui/llscrollingpanellist.cpp index 70309ba6bc..28755ed30f 100644 --- a/indra/llui/llscrollingpanellist.cpp +++ b/indra/llui/llscrollingpanellist.cpp @@ -34,6 +34,9 @@ #include "llscrollingpanellist.h" +static LLRegisterWidget<LLScrollingPanelList> r("scrolling_panel_list"); + + ///////////////////////////////////////////////////////////////////// // LLScrollingPanelList @@ -129,10 +132,8 @@ void LLScrollingPanelList::updatePanelVisiblilty() void LLScrollingPanelList::draw() { - if( getVisible() ) - { - updatePanelVisiblilty(); - } + updatePanelVisiblilty(); + LLUICtrl::draw(); } |