Commit 7feda7b7 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix the issue with the order of the item in the playlist (normaly fix #1379)

parent dace7276
......@@ -729,9 +729,12 @@ void PLModel::sort( int column, Qt::SortOrder order )
default: i_mode = SORT_TITLE_NODES_FIRST; break;
}
if( p_root )
{
playlist_RecursiveNodeSort( p_playlist, p_root, i_mode,
order == Qt::AscendingOrder ?
ORDER_NORMAL : ORDER_REVERSE );
p_playlist->b_reset_currently_playing = VLC_TRUE;
}
}
PL_UNLOCK;
rebuild();
......
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