use SM_Success; don't duplicate it

This commit is contained in:
Glenn Maynard
2005-12-29 02:59:23 +00:00
parent 3eb451f76f
commit 72bb71d50e
+2 -5
View File
@@ -2605,8 +2605,6 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
if( !w.WriteEditFileToMachine(pSong, pSteps) )
break;
pSteps->SetSavedToDisk( true );
CopyToLastSave();
ClearUndo();
SCREENMAN->ZeroNextUpdate();
@@ -2615,6 +2613,8 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
CString s = ssprintf( SAVED.GetValue(), Basename(pSteps->GetFilename()).c_str() );
ScreenPrompt::Prompt( SM_None, s );
HandleScreenMessage( SM_Success );
/* FIXME
CString s;
switch( c )
@@ -2629,9 +2629,6 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
break;
case EditMode_Full:
{
pSteps->SetSavedToDisk( true );
CopyToLastSave();
pSong->Save();
SCREENMAN->ZeroNextUpdate();