Fixed an issue where the wrong system name would show up on the carousel if the theme configuration was invalid.

This commit is contained in:
Leon Styhre 2022-10-28 21:00:49 +02:00
parent b164419cc9
commit 7e2818c854

View file

@ -317,6 +317,8 @@ void CarouselComponent<T>::addEntry(Entry& entry, const std::shared_ptr<ThemeDat
entry.data.item->setPosition(glm::vec3 {denormalized.x, denormalized.y, 0.0f}); entry.data.item->setPosition(glm::vec3 {denormalized.x, denormalized.y, 0.0f});
List::add(entry); List::add(entry);
mText = "";
} }
template <typename T> template <typename T>