Improve mouse cursor handling.
This commit is contained in:
parent
c97a15047c
commit
01a1e5846c
|
@ -79,8 +79,13 @@ Audio_Track::handle ( int m )
|
|||
|
||||
printf( "pasted file \"%s\"\n", file );
|
||||
|
||||
fl_cursor( FL_CURSOR_WAIT );
|
||||
Fl::check();
|
||||
|
||||
Audio_File *c = Audio_File::from_file( file );
|
||||
|
||||
fl_cursor( FL_CURSOR_DEFAULT );
|
||||
|
||||
if ( ! c )
|
||||
{
|
||||
free( file );
|
||||
|
|
Loading…
Reference in New Issue