Commit 33983bc5 authored by Jakob Leben's avatar Jakob Leben

Qt: media library is always a tree

parent 5ea622dc
......@@ -896,7 +896,8 @@ bool PLModel::popup( const QModelIndex & index, const QPoint &point, const QMode
( rootItem->i_id );
i_popup_column = index.column();
bool tree = var_InheritBool( p_intf, "playlist-tree" );
bool tree = ( rootItem && rootItem->i_id != p_playlist->p_playing->i_id ) ||
var_InheritBool( p_intf, "playlist-tree" );
PL_UNLOCK;
......
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