Fixed incorrect default selection in tabbed screen.
This commit is contained in:
parent
d70a398cc8
commit
ba484d8be2
@ -201,9 +201,9 @@ void BaseUserScreen::selectUser(int index)
|
|||||||
// Only set focus in case of non-tabbed version (so that keyboard
|
// Only set focus in case of non-tabbed version (so that keyboard
|
||||||
// or gamepad navigation with tabs works as expected, i.e. you can
|
// or gamepad navigation with tabs works as expected, i.e. you can
|
||||||
// select the next tab without having to go up to the tab list first.
|
// select the next tab without having to go up to the tab list first.
|
||||||
if(!getWidget<RibbonWidget>("options_choice"))
|
bool focus_it = !getWidget<RibbonWidget>("options_choice");
|
||||||
m_players->setSelection(StringUtils::toString(index), PLAYER_ID_GAME_MASTER,
|
m_players->setSelection(StringUtils::toString(index), PLAYER_ID_GAME_MASTER,
|
||||||
/*focusIt*/ true);
|
focus_it);
|
||||||
|
|
||||||
if (!m_new_registered_data)
|
if (!m_new_registered_data)
|
||||||
m_username_tb->setText(profile->getLastOnlineName());
|
m_username_tb->setText(profile->getLastOnlineName());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user