Set value of 'show all takes' toggle correctly when updating menus.

This commit is contained in:
Jonathan Moore Liles 2008-08-04 00:12:35 -05:00
parent 74ffa575d9
commit a07d997397
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ Track::update_take_menu ( void )
{ {
take_menu->clear(); 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 ); take_menu->add( "New", 0, 0, 0 );
if ( takes->children() ) if ( takes->children() )