Skip to content
Snippets Groups Projects
Commit 6760c8dc authored by AndreyL ProductEngine's avatar AndreyL ProductEngine
Browse files

MAINT-6785 Don't parse XML when creating dummy LLPanel

parent 9f3225d7
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,8 @@ BOOL LLOutfitGallery::postBuild() ...@@ -106,7 +106,8 @@ BOOL LLOutfitGallery::postBuild()
{ {
BOOL rv = LLOutfitListBase::postBuild(); BOOL rv = LLOutfitListBase::postBuild();
mScrollPanel = getChild<LLScrollContainer>("gallery_scroll_panel"); mScrollPanel = getChild<LLScrollContainer>("gallery_scroll_panel");
mGalleryPanel = getChild<LLPanel>("gallery_panel"); LLPanel::Params params = LLPanel::getDefaultParams(); // Don't parse XML when creating dummy LLPanel
mGalleryPanel = LLUICtrlFactory::create<LLPanel>(params);
mMessageTextBox = getChild<LLTextBox>("no_outfits_txt"); mMessageTextBox = getChild<LLTextBox>("no_outfits_txt");
mOutfitGalleryMenu = new LLOutfitGalleryContextMenu(this); mOutfitGalleryMenu = new LLOutfitGalleryContextMenu(this);
return rv; return rv;
......
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