diff --git a/src/guiengine/widgets/CGUISTKListBox.cpp b/src/guiengine/widgets/CGUISTKListBox.cpp index ecf7b0ff6..ceb87093c 100644 --- a/src/guiengine/widgets/CGUISTKListBox.cpp +++ b/src/guiengine/widgets/CGUISTKListBox.cpp @@ -462,6 +462,13 @@ void CGUISTKListBox::selectNew(s32 ypos, bool onlyHover) void CGUISTKListBox::updateAbsolutePosition() { IGUIElement::updateAbsolutePosition(); + for (int i = 0; i < Items.size(); i++) + { + for (int j = 0; j < Items[i].m_contents.size(); j++) + { + Items[i].m_contents[j].m_glyph_layouts.clear(); + } + } recalculateItemHeight(); }