Sequencer: Allow saving while transport is running. Closes #40.

This commit is contained in:
Jonathan Moore Liles 2013-03-24 11:49:56 -07:00
parent f137629b93
commit 815a16f96f
1 changed files with 2 additions and 10 deletions

View File

@ -54,16 +54,8 @@ int command_save ( char **out_msg );
int
NSM_Client::command_save ( char **out_msg )
{
if ( transport.rolling )
{
*out_msg = strdup( "Cannot save while transport is running." );
return ERR_NOT_NOW;
}
else
{
save_song( nsm->project_filename );
return ERR_OK;
}
}
int