use SM_Success; don't duplicate it
This commit is contained in:
@@ -2605,8 +2605,6 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
|
|||||||
if( !w.WriteEditFileToMachine(pSong, pSteps) )
|
if( !w.WriteEditFileToMachine(pSong, pSteps) )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
pSteps->SetSavedToDisk( true );
|
|
||||||
CopyToLastSave();
|
|
||||||
ClearUndo();
|
ClearUndo();
|
||||||
|
|
||||||
SCREENMAN->ZeroNextUpdate();
|
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() );
|
CString s = ssprintf( SAVED.GetValue(), Basename(pSteps->GetFilename()).c_str() );
|
||||||
ScreenPrompt::Prompt( SM_None, s );
|
ScreenPrompt::Prompt( SM_None, s );
|
||||||
|
|
||||||
|
HandleScreenMessage( SM_Success );
|
||||||
|
|
||||||
/* FIXME
|
/* FIXME
|
||||||
CString s;
|
CString s;
|
||||||
switch( c )
|
switch( c )
|
||||||
@@ -2629,9 +2629,6 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
|
|||||||
break;
|
break;
|
||||||
case EditMode_Full:
|
case EditMode_Full:
|
||||||
{
|
{
|
||||||
pSteps->SetSavedToDisk( true );
|
|
||||||
CopyToLastSave();
|
|
||||||
|
|
||||||
pSong->Save();
|
pSong->Save();
|
||||||
SCREENMAN->ZeroNextUpdate();
|
SCREENMAN->ZeroNextUpdate();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user