Apply patch by xenux to correctly place focus when navigating addons screen with gamepad. Thanks!

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2013-06-02 23:51:12 +00:00
parent 5b330aa0e4
commit d052ff36d1

View File

@@ -379,6 +379,7 @@ void AddonsScreen::setLastSelected()
{
GUIEngine::ListWidget* list =
getWidget<GUIEngine::ListWidget>("list_addons");
list->setFocusForPlayer(PLAYER_ID_GAME_MASTER);
list->setSelectionID(m_selected_index);
}
} // setLastSelected