Commit f9f2d307 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a crash ( #342332 on ubuntu)

parent 76f11cb9
...@@ -751,7 +751,7 @@ next: ...@@ -751,7 +751,7 @@ next:
{ {
playlist_item_t *p_root = playlist_ItemGetById( p_playlist, playlist_item_t *p_root = playlist_ItemGetById( p_playlist,
rootItem->i_id ); rootItem->i_id );
if( p_root ) if( p_root && i_flag )
{ {
playlist_RecursiveNodeSort( p_playlist, p_root, playlist_RecursiveNodeSort( p_playlist, p_root,
i_column_sorting( i_flag ), i_column_sorting( i_flag ),
......
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