Browse Source

Add error message for failed imports.

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

+ 2
- 0
Timeline/Audio_Track.C View File

@@ -19,6 +19,7 @@


#include "Audio_Track.H" #include "Audio_Track.H"


#include <Fl/fl_ask.H>


static static
void void
@@ -94,6 +95,7 @@ Audio_Track::handle ( int m )


if ( ! c ) if ( ! c )
{ {
fl_alert( "Could not import file \"%s\": Unsupported file type.", file );
printf( "could not open file\n" ); printf( "could not open file\n" );
free( file ); free( file );
return 0; return 0;


Loading…
Cancel
Save