Commit dace7276 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix a little bug with the sorting in the interface

parent bc4789a0
......@@ -724,8 +724,8 @@ void PLModel::sort( int column, Qt::SortOrder order )
switch( column )
{
case 0: i_mode = SORT_TITLE_NODES_FIRST;break;
case 1: i_mode = SORT_ARTIST;break;
case 2: i_mode = SORT_DURATION; break;
case 1: i_mode = SORT_DURATION; break;
case 2: i_mode = SORT_ARTIST;break;
default: i_mode = SORT_TITLE_NODES_FIRST; break;
}
if( p_root )
......
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