Commit 2d25a2fc authored by Clément Stenac's avatar Clément Stenac

Improve playlist behaviour

parent 913783c8
...@@ -1100,7 +1100,8 @@ void Playlist::OnActivateItem( wxTreeEvent& event ) ...@@ -1100,7 +1100,8 @@ void Playlist::OnActivateItem( wxTreeEvent& event )
else else
{ {
p_node = p_item2; p_node = p_item2;
if( p_node && p_node->i_children > 0 && p_item = NULL;
/* if( p_node && p_node->i_children > 0 &&
p_node->pp_children[0]->i_children == -1) p_node->pp_children[0]->i_children == -1)
{ {
p_item = p_node->pp_children[0]; p_item = p_node->pp_children[0];
...@@ -1108,7 +1109,7 @@ void Playlist::OnActivateItem( wxTreeEvent& event ) ...@@ -1108,7 +1109,7 @@ void Playlist::OnActivateItem( wxTreeEvent& event )
else else
{ {
p_item = NULL; p_item = NULL;
} }*/
} }
playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, i_current_view, playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, i_current_view,
......
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