From 22200c30251b158c03c418a5d91ff687ae48a69f Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Thu, 11 Nov 2021 19:49:46 +0100
Subject: [PATCH] Fixed an issue where TextListComponent would not correctly
 handle the forceUppercase theme property.

---
 es-core/src/components/TextListComponent.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/es-core/src/components/TextListComponent.h b/es-core/src/components/TextListComponent.h
index c551ec9b8..4d054aac0 100644
--- a/es-core/src/components/TextListComponent.h
+++ b/es-core/src/components/TextListComponent.h
@@ -80,9 +80,9 @@ public:
             it->data.textCache.reset();
     }
 
-    void setUppercase(bool /*uppercase*/)
+    void setUppercase(bool uppercase)
     {
-        mUppercase = true;
+        mUppercase = uppercase;
         for (auto it = mEntries.begin(); it != mEntries.end(); it++)
             it->data.textCache.reset();
     }