AfterSet command moved entirely into TextBanner, Load* -> Set*

This commit is contained in:
Chris Danford
2008-02-15 09:37:25 +00:00
parent e841ae7e1e
commit 3708fcc555
+1 -6
View File
@@ -383,13 +383,8 @@ void EditMenu::OnRowValueChanged( EditMenuRow row )
m_textValue[ROW_SONG].SetText( "" );
m_SongBanner.LoadFromSong( GetSelectedSong() );
m_SongBanner.ScaleToClipped( SONG_BANNER_WIDTH, SONG_BANNER_HEIGHT );
m_SongTextBanner.LoadFromSong( GetSelectedSong() );
m_SongTextBanner.SetFromSong( GetSelectedSong() );
{
Message msg( "Set" );
msg.SetParam( "Song", GetSelectedSong() );
m_SongTextBanner.HandleMessage( msg );
}
// fall through
case ROW_STEPS_TYPE:
m_textValue[ROW_STEPS_TYPE].SetText( GAMEMAN->StepsTypeToLocalizedString(GetSelectedStepsType()) );