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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user