From 0b1ca16bafa229b781170f09f45e1a8735b45b31 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 19 Jan 2006 00:33:48 +0000 Subject: [PATCH] underline position depends on the focus (in LAYOUT_SHOW_ONE_IN_ROW), so set it after ResetFocusFromSelection --- stepmania/src/OptionRow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index 49362c027e..554cb0684f 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -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() );