update m_textTitle when choices change, eg. on load and reload--don't need to do it on import

This commit is contained in:
Glenn Maynard
2006-01-19 01:25:09 +00:00
parent 8da0e94aa2
commit e87e8d77e4
+2 -2
View File
@@ -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 )