cleanup
This commit is contained in:
@@ -45,7 +45,6 @@ void ScreenEditMenu::Init()
|
||||
m_Selector.SetXY( 0, 0 );
|
||||
this->AddChild( &m_Selector );
|
||||
|
||||
|
||||
m_textExplanation.SetName( "Explanation" );
|
||||
m_textExplanation.LoadFromFont( THEME->GetPathF(m_sName,"explanation") );
|
||||
LOAD_ALL_COMMANDS_AND_SET_XY( m_textExplanation );
|
||||
@@ -59,7 +58,6 @@ void ScreenEditMenu::Init()
|
||||
this->AddChild( &m_textNumStepsLoadedFromProfile );
|
||||
}
|
||||
|
||||
|
||||
void ScreenEditMenu::HandleScreenMessage( const ScreenMessage SM )
|
||||
{
|
||||
if( SM == SM_RefreshSelector )
|
||||
@@ -77,8 +75,8 @@ void ScreenEditMenu::HandleScreenMessage( const ScreenMessage SM )
|
||||
pSong->DeleteSteps( pStepsToDelete );
|
||||
SONGMAN->Invalidate( pSong );
|
||||
|
||||
/* Only save to the main .SM file if the steps we're deleting were loaded
|
||||
* from it. */
|
||||
/* Only save to the main .SM file if the steps we're deleting
|
||||
* were loaded from it. */
|
||||
if( bSaveSong )
|
||||
{
|
||||
pSong->Save();
|
||||
|
||||
Reference in New Issue
Block a user