From a07d997397b215f8d18288cbe9b81889e3997249 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Mon, 4 Aug 2008 00:12:35 -0500 Subject: [PATCH] Set value of 'show all takes' toggle correctly when updating menus. --- Timeline/Track.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Timeline/Track.C b/Timeline/Track.C index 1a9b152..530afe0 100644 --- a/Timeline/Track.C +++ b/Timeline/Track.C @@ -481,7 +481,7 @@ Track::update_take_menu ( void ) { take_menu->clear(); - take_menu->add( "Show all takes", 0, 0, 0, FL_MENU_TOGGLE ); + take_menu->add( "Show all takes", 0, 0, 0, FL_MENU_TOGGLE | ( _show_all_takes ? FL_MENU_VALUE : 0 ) ); take_menu->add( "New", 0, 0, 0 ); if ( takes->children() )