Commit aad95f66 authored by Rafaël Carré's avatar Rafaël Carré

Wxwidgets playlist fix

parent 75c86db7
......@@ -721,7 +721,7 @@ void wizInputPage::OnWizardPageChanging(wxWizardEvent& event)
VLC_OBJECT_PLAYLIST, FIND_ANYWHERE);
if( p_playlist )
{
playlist_item_t * p_item = playlist_ItemGetById( p_playlist, (int)data, VLC_TRUE );
playlist_item_t * p_item = playlist_ItemGetById( p_playlist, (int)data, VLC_FALSE );
if( p_item )
{
p_parent->SetMrl( (const char*)p_item->p_input->psz_uri );
......
......@@ -355,7 +355,7 @@ void PlaylistManager::AppendItem( wxCommandEvent& event )
node = FindItem( treectrl->GetRootItem(), p_add->i_node );
if( !node.IsOk() ) goto update;
p_item = playlist_ItemGetById( p_playlist, p_add->i_item, VLC_TRUE );
p_item = playlist_ItemGetById( p_playlist, p_add->i_item, VLC_FALSE );
if( !p_item ) goto update;
item = FindItem( treectrl->GetRootItem(), p_add->i_item );
......
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