Sequencer: Allow saving while transport is running. Closes #40.
This commit is contained in:
parent
f137629b93
commit
815a16f96f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue