Update playback mode widget when song is loaded via LASH.

pull/3/head
Jonathan Moore Liles 2008-02-12 19:56:01 -06:00
parent 65df570a30
commit 41eb6f4d7a
2 changed files with 7 additions and 5 deletions

View File

@ -1141,7 +1141,12 @@ while ( ( l = strtok( NULL, "\\n" ) ) )
o->value( val );
free( s );} {}
free( s );
if ( playback_mode_menu )
playback_mode_menu->value( song.play_mode );} {selected
}
}
Function {update_mapping_menu()} {open
} {
@ -1740,8 +1745,7 @@ for ( i = 0; i < MAX_PATTERN; i++ )
b->value( 0 );
}
}} {selected
}
}} {}
}
Function {resize( int X, int Y, int W, int H )} {open return_type void
} {

2
main.C
View File

@ -113,8 +113,6 @@ load_song ( const char *name )
song.filename = strdup( name );
// TODO: signal song loaded.
return true;
}