Fixed an issue where TextListComponent would not correctly handle the forceUppercase theme property.

This commit is contained in:
Leon Styhre 2021-11-11 19:49:46 +01:00
parent 6a7f002a94
commit 22200c3025

View file

@ -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();
}