Permit removing tracks while the transport is rolling, since it doesn't hurt anymore.
This commit is contained in:
parent
b20156053e
commit
53876092f4
|
@ -508,7 +508,7 @@ Track::handle ( int m )
|
|||
{ "Add Control" },
|
||||
{ "Add Annotation" },
|
||||
{ "Color" },
|
||||
{ "Remove", 0, 0, 0, transport->rolling ? FL_MENU_INACTIVE : 0 },
|
||||
{ "Remove", 0, 0, 0 }, // transport->rolling ? FL_MENU_INACTIVE : 0 },
|
||||
{ 0 },
|
||||
};
|
||||
|
||||
|
@ -569,8 +569,6 @@ Track::handle ( int m )
|
|||
if ( r == 2 )
|
||||
{
|
||||
timeline->remove_track( this );
|
||||
/* FIXME: need to queue deletion. in a way that won't crash the playback. */
|
||||
// delete this;
|
||||
Fl::delete_widget( this );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue