Commit 251ae55f authored by Jakob Leben's avatar Jakob Leben

Qt: clear PL item id cache when sorting

fix #3263
parent 439cd43d
...@@ -847,6 +847,9 @@ void PLModel::sort( int i_root_id, int column, Qt::SortOrder order ) ...@@ -847,6 +847,9 @@ void PLModel::sort( int i_root_id, int column, Qt::SortOrder order )
ORDER_NORMAL : ORDER_REVERSE ); ORDER_NORMAL : ORDER_REVERSE );
} }
} }
i_cached_id = i_cached_input_id = -1;
if( count ) if( count )
{ {
beginInsertRows( qIndex, 0, count - 1 ); beginInsertRows( qIndex, 0, count - 1 );
......
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