reload SSM help text on sort changed

clean up SortOrder names
This commit is contained in:
Chris Danford
2005-04-15 07:18:40 +00:00
parent 38bbd07fe0
commit 228ca9f166
13 changed files with 65 additions and 19 deletions
+8
View File
@@ -1476,6 +1476,14 @@ void ScreenSelectMusic::AfterMusicChange()
g_bWantFallbackCdTitle = false;
bool bWantBanner = true;
static SortOrder s_lastSortOrder = SORT_INVALID;
if( m_MusicWheel.GetSortOrder() != s_lastSortOrder )
{
// Reload to let Lua metrics have a chance to change the help text.
ScreenWithMenuElements::LoadHelpText();
s_lastSortOrder = m_MusicWheel.GetSortOrder();
}
switch( m_MusicWheel.GetSelectedType() )
{
case TYPE_SECTION: