Fixed display or kart name in top left corner (caused by calling

add on the label widget twice).
This commit is contained in:
hiker 2014-06-20 11:00:43 +10:00
parent 6dd4c6f803
commit 82d8cbf875

View File

@ -348,7 +348,6 @@ PlayerKartWidget::PlayerKartWidget(KartSelectionScreen* parent,
// ---- Kart name label
m_kart_name = new LabelWidget();
m_kart_name->add(); // add the widget
m_kart_name->setText(props->getName(), false);
m_kart_name->m_properties[PROP_TEXT_ALIGN] = "center";
m_kart_name->m_properties[PROP_ID] =