Make a default selection in track selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
81bfc497b3
commit
5c6df4653a
@ -209,7 +209,10 @@ void TracksScreen::init()
|
||||
tracks_widget->addItem(_("Random Track"), "random_track", "/gui/track_random.png",
|
||||
0, IconButtonWidget::ICON_PATH_TYPE_RELATIVE);
|
||||
|
||||
tracks_widget->updateItemDisplay();
|
||||
tracks_widget->updateItemDisplay();
|
||||
|
||||
// FIXME: don't hardcode player 0?
|
||||
tracks_widget->setSelection(tracks_widget->getItems()[0].m_code_name, 0, true);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user