Commit 9b68e765 authored by Denis Charmet's avatar Denis Charmet Committed by Jean-Baptiste Kempf

Qt: force the rebuild of the view to properly sort playlist items

Fix #18388
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 03cadbe5
......@@ -644,7 +644,11 @@ void PLModel::processItemAppend( int i_pl_itemid, int i_pl_itemidparent )
if ( newItem->inputItem() == THEMIM->currentInputItem() )
emit currentIndexChanged( index( newItem, 0 ) );
if( latestSearch.isEmpty() ) return;
if( latestSearch.isEmpty() )
{
rebuild();
return;
}
filter( latestSearch, index( rootItem, 0), false /*FIXME*/ );
}
......
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