From 53876092f40e12f68c95dfeddc781ad3eb9d8b79 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 25 May 2008 23:19:13 -0500 Subject: [PATCH] Permit removing tracks while the transport is rolling, since it doesn't hurt anymore. --- Timeline/Track.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Timeline/Track.C b/Timeline/Track.C index 332ce0d..dd03ce2 100644 --- a/Timeline/Track.C +++ b/Timeline/Track.C @@ -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 ); } }