Fixed display or kart name in top left corner (caused by calling
add on the label widget twice).
This commit is contained in:
parent
6dd4c6f803
commit
82d8cbf875
@ -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] =
|
||||
|
Loading…
Reference in New Issue
Block a user