modules/gui/wxwindows/iteminfo.cpp:

 * select the right value in the group-combobox in the iteminfo dialog
parent dd443c16
...@@ -245,6 +245,11 @@ wxPanel *ItemInfoDialog::GroupPanel( wxWindow* parent ) ...@@ -245,6 +245,11 @@ wxPanel *ItemInfoDialog::GroupPanel( wxWindow* parent )
for( int i=0; i< p_playlist->i_groups ; i++) for( int i=0; i< p_playlist->i_groups ; i++)
{ {
group_combo->Append( wxU( p_playlist->pp_groups[i]->psz_name ) ); 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 ); vlc_object_release ( p_playlist );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment