Permit removing tracks while the transport is rolling, since it doesn't hurt anymore.

This commit is contained in:
Jonathan Moore Liles 2008-05-25 23:19:13 -05:00
parent b20156053e
commit 53876092f4
1 changed files with 1 additions and 3 deletions

View File

@ -508,7 +508,7 @@ Track::handle ( int m )
{ "Add Control" }, { "Add Control" },
{ "Add Annotation" }, { "Add Annotation" },
{ "Color" }, { "Color" },
{ "Remove", 0, 0, 0, transport->rolling ? FL_MENU_INACTIVE : 0 }, { "Remove", 0, 0, 0 }, // transport->rolling ? FL_MENU_INACTIVE : 0 },
{ 0 }, { 0 },
}; };
@ -569,8 +569,6 @@ Track::handle ( int m )
if ( r == 2 ) if ( r == 2 )
{ {
timeline->remove_track( this ); timeline->remove_track( this );
/* FIXME: need to queue deletion. in a way that won't crash the playback. */
// delete this;
Fl::delete_widget( this ); Fl::delete_widget( this );
} }
} }