Wxwidgets playlist fix
authorRafaël Carré <funman@videolan.org>
Mon, 20 Nov 2006 02:39:32 +0000 (02:39 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 20 Nov 2006 02:39:32 +0000 (02:39 +0000)
modules/gui/wxwidgets/dialogs/wizard.cpp
modules/gui/wxwidgets/playlist_manager.cpp

index c2d0446..19171b1 100644 (file)
@@ -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 );
index 334a5ae..528e5e3 100644 (file)
@@ -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 );