Browse Source

Close project before creating new one.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
c0803df843
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Timeline/Project.C

+ 2
- 2
Timeline/Project.C View File

@@ -144,6 +144,8 @@ Project::open ( const char *name )
bool
Project::create ( const char *name, const char *template_name )
{
close();

if ( exists( name ) )
{
WARNING( "Project already exists" );
@@ -165,7 +167,5 @@ Project::create ( const char *name, const char *template_name )

/* TODO: copy template */

close();

return open( name );
}

Loading…
Cancel
Save