underline position depends on the focus (in LAYOUT_SHOW_ONE_IN_ROW), so set it after ResetFocusFromSelection

This commit is contained in:
Glenn Maynard
2006-01-19 00:33:48 +00:00
parent f3c94e55c6
commit 0b1ca16baf
+3 -3
View File
@@ -456,9 +456,6 @@ void OptionRow::AfterImportOptions()
m_Underline[p][c]->SetHidden( true );
}
FOREACH_HumanPlayer( p )
PositionUnderlines( p );
// Make all selections the same if bOneChoiceForAllPlayers
// Hack: we only import active players, so if only player 2 is imported,
// we need to copy p2 to p1, not p1 to p2.
@@ -492,6 +489,9 @@ void OptionRow::AfterImportOptions()
FOREACH_PlayerNumber( p )
ResetFocusFromSelection( p );
FOREACH_HumanPlayer( p )
PositionUnderlines( p );
UpdateText();
m_textTitle->SetText( GetRowTitle() );