Commit b851c88a authored by zorglub's avatar zorglub
Browse files

Fix item delete in skins

parent a9c28361
...@@ -64,7 +64,9 @@ void Playlist::delSelected() ...@@ -64,7 +64,9 @@ void Playlist::delSelected()
{ {
if( (*it).m_selected ) if( (*it).m_selected )
{ {
playlist_Delete( m_pPlaylist, index ); playlist_item_t *p_item = playlist_ItemGetByPos( m_pPlaylist,
index );
playlist_Delete( m_pPlaylist, p_item->input.i_id );
} }
else else
{ {
......
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