Browse Source

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

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
53876092f4
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      Timeline/Track.C

+ 1
- 3
Timeline/Track.C View File

@@ -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…
Cancel
Save