diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2025-01-13 14:15:46 +0200 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-04-11 00:32:51 +0300 |
commit | 0c9f6f50efbde1d489979d1d7348bd480bb46cb2 (patch) | |
tree | a714befb6724f91a273a6358ef4db2979c7d4a0b /indra | |
parent | 2d11e10a906f10f6cd682cc154f9cb5cce7828f6 (diff) |
#3394 Fix colour change not applied to favourites in Outfit Gallery
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/lloutfitgallery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp index 7a6aa05763..1767990aed 100644 --- a/indra/newview/lloutfitgallery.cpp +++ b/indra/newview/lloutfitgallery.cpp @@ -1068,7 +1068,7 @@ void LLOutfitGalleryItem::setOutfitFavorite(bool is_favorite) mFavorite = is_favorite; static LLCachedControl<bool> use_color(gSavedSettings, "InventoryFavoritesColorText"); - mOutfitNameText->setReadOnlyColor((mFavorite && use_color()) ? sDefaultFavoriteColor.get() : sDefaultTextColor.get()); + mOutfitNameText->setReadOnlyColor((mFavorite && use_color()) ? sDefaultFavoriteColor : sDefaultTextColor); } void LLOutfitGalleryItem::setOutfitWorn(bool value) @@ -1084,7 +1084,7 @@ void LLOutfitGalleryItem::setOutfitWorn(bool value) mOutfitNameText->setText(mOutfitName); // refresh LLTextViewModel to pick up font changes static LLCachedControl<bool> use_color(gSavedSettings, "InventoryFavoritesColorText"); - mOutfitNameText->setReadOnlyColor((mFavorite && use_color()) ? sDefaultFavoriteColor.get() : sDefaultTextColor.get()); + mOutfitNameText->setReadOnlyColor((mFavorite && use_color()) ? sDefaultFavoriteColor : sDefaultTextColor); } void LLOutfitGalleryItem::setSelected(bool value) |