From e87e8d77e40d1d1f34506908953188c8fdd19b3b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 19 Jan 2006 01:25:09 +0000 Subject: [PATCH] update m_textTitle when choices change, eg. on load and reload--don't need to do it on import --- stepmania/src/OptionRow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index c1bcaca077..f26ba38404 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -207,6 +207,8 @@ void OptionRow::ChoicesChanged() /* When choices change, the old focus position is meaningless; reset it. */ FOREACH_PlayerNumber( p ) SetChoiceInRowWithFocus( p, 0 ); + + m_textTitle->SetText( GetRowTitle() ); } CString OptionRow::GetRowTitle() const @@ -491,8 +493,6 @@ void OptionRow::AfterImportOptions() FOREACH_HumanPlayer( p ) PositionUnderlines( p ); - - m_textTitle->SetText( GetRowTitle() ); } void OptionRow::PositionUnderlines( PlayerNumber pn )