Commit 1c97d0ba authored by Filip Roséen's avatar Filip Roséen Committed by François Cartegnie

gui/qt: fix PLModel::isSupportedAction( ACTION_ENQUEUE*, ... )

Enqueing (adding) items to the current playlist should always be
accessible as long as the playlist where the context-menu is brought up
can be changed by the user.
Signed-off-by: François Cartegnie's avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent c152a073
......@@ -1050,7 +1050,7 @@ bool PLModel::isSupportedAction( actions action, const QModelIndex &index ) cons
case ACTION_ENQUEUEFILE:
case ACTION_ENQUEUEDIR:
case ACTION_ENQUEUEGENERIC:
return !item->readOnly();
return canEdit();
case ACTION_SAVETOPLAYLIST:
return rowCount() > 0;
default:
......
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