1
mirror of https://code.videolan.org/videolan/vlc synced 2024-07-21 07:24:15 +02:00

modules/gui/wxwindows/iteminfo.cpp:

* select the right value in the group-combobox in the iteminfo dialog
This commit is contained in:
Sigmund Augdal Helberg 2004-03-05 17:18:42 +00:00
parent dd443c16f4
commit 5dc138d758

View File

@ -245,6 +245,11 @@ wxPanel *ItemInfoDialog::GroupPanel( wxWindow* parent )
for( int i=0; i< p_playlist->i_groups ; i++)
{
group_combo->Append( wxU( p_playlist->pp_groups[i]->psz_name ) );
if( p_playlist->pp_groups[i]->i_id == p_item->i_group )
{
group_combo->SetSelection( i );
group_combo->SetValue( wxU( p_playlist->pp_groups[i]->psz_name ) );
}
}
vlc_object_release ( p_playlist );