underline position depends on the focus (in LAYOUT_SHOW_ONE_IN_ROW), so set it after ResetFocusFromSelection
This commit is contained in:
@@ -456,9 +456,6 @@ void OptionRow::AfterImportOptions()
|
|||||||
m_Underline[p][c]->SetHidden( true );
|
m_Underline[p][c]->SetHidden( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
FOREACH_HumanPlayer( p )
|
|
||||||
PositionUnderlines( p );
|
|
||||||
|
|
||||||
// Make all selections the same if bOneChoiceForAllPlayers
|
// Make all selections the same if bOneChoiceForAllPlayers
|
||||||
// Hack: we only import active players, so if only player 2 is imported,
|
// Hack: we only import active players, so if only player 2 is imported,
|
||||||
// we need to copy p2 to p1, not p1 to p2.
|
// we need to copy p2 to p1, not p1 to p2.
|
||||||
@@ -492,6 +489,9 @@ void OptionRow::AfterImportOptions()
|
|||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
ResetFocusFromSelection( p );
|
ResetFocusFromSelection( p );
|
||||||
|
|
||||||
|
FOREACH_HumanPlayer( p )
|
||||||
|
PositionUnderlines( p );
|
||||||
|
|
||||||
UpdateText();
|
UpdateText();
|
||||||
|
|
||||||
m_textTitle->SetText( GetRowTitle() );
|
m_textTitle->SetText( GetRowTitle() );
|
||||||
|
|||||||
Reference in New Issue
Block a user