From 631a92cad264744e6d34f142c5904abf9799b183 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Tue, 20 Jul 2021 01:28:07 -0400
Subject: [PATCH] Clean up inbox folderview construction

---
 indra/newview/llpanelmarketplaceinboxinventory.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/llpanelmarketplaceinboxinventory.cpp b/indra/newview/llpanelmarketplaceinboxinventory.cpp
index 8dc72882fdd..8701f8bc260 100644
--- a/indra/newview/llpanelmarketplaceinboxinventory.cpp
+++ b/indra/newview/llpanelmarketplaceinboxinventory.cpp
@@ -75,7 +75,7 @@ void LLInboxInventoryPanel::initFromParams(const LLInventoryPanel::Params& param
 
 LLFolderViewFolder * LLInboxInventoryPanel::createFolderViewFolder(LLInvFVBridge * bridge, bool allow_drop)
 {
-	LLUIColor item_color = LLUIColorTable::instance().getColor("MenuItemEnabledColor", DEFAULT_WHITE);
+	static LLUIColor item_color = LLUIColorTable::instance().getColor("MenuItemEnabledColor", LLColor4::white);
 
 	LLInboxFolderViewFolder::Params params;
 	
@@ -92,7 +92,7 @@ LLFolderViewFolder * LLInboxInventoryPanel::createFolderViewFolder(LLInvFVBridge
 
 LLFolderViewItem * LLInboxInventoryPanel::createFolderViewItem(LLInvFVBridge * bridge)
 {
-	LLUIColor item_color = LLUIColorTable::instance().getColor("MenuItemEnabledColor", DEFAULT_WHITE);
+	static LLUIColor item_color = LLUIColorTable::instance().getColor("MenuItemEnabledColor", LLColor4::white);
 
 	LLInboxFolderViewItem::Params params;
 
-- 
GitLab