Commit 78128012 authored by Clément Stenac's avatar Clément Stenac

Apparently fix WX playlist crash (Closes:#205)

parent e6cf22d4
...@@ -877,7 +877,7 @@ void Playlist::DeleteTreeItem( wxTreeItemId item ) ...@@ -877,7 +877,7 @@ void Playlist::DeleteTreeItem( wxTreeItemId item )
if( p_item->i_children == -1 ) DeleteItem( p_item->input.i_id ); if( p_item->i_children == -1 ) DeleteItem( p_item->input.i_id );
else DeleteNode( p_item ); else DeleteNode( p_item );
RemoveItem( item ); RemoveItem( p_item->input.i_id );
UnlockPlaylist( p_intf->p_sys, p_playlist ); UnlockPlaylist( p_intf->p_sys, 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