Commit 0d3c4d5c authored by François Cartegnie's avatar François Cartegnie 🤞

Qt: allow sort of RO items lists

parent 664e991d
...@@ -1014,7 +1014,7 @@ bool PLModel::isSupportedAction( actions action, const QModelIndex &index ) cons ...@@ -1014,7 +1014,7 @@ bool PLModel::isSupportedAction( actions action, const QModelIndex &index ) cons
if( index != rootIndex() ) if( index != rootIndex() )
return ( item->id( PLAYLIST_ID ) != THEPL->p_playing->i_id ); return ( item->id( PLAYLIST_ID ) != THEPL->p_playing->i_id );
case ACTION_SORT: case ACTION_SORT:
return rowCount() && !item->readOnly(); return rowCount();
case ACTION_PLAY: case ACTION_PLAY:
{ {
PL_LOCK; PL_LOCK;
......
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