mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-08 10:02:29 +02:00
Don't allow yourself to follow...yourself.
This commit is contained in:
parent
f9dff94ab2
commit
b31ff998ee
@ -360,7 +360,9 @@ SourceTreeView::onCustomContextMenu( const QPoint& pos )
|
||||
}
|
||||
else if ( model()->data( m_contextMenuIndex, SourcesModel::SourceTreeItemTypeRole ) == SourcesModel::Collection )
|
||||
{
|
||||
m_followMenu.exec( mapToGlobal( pos ) );
|
||||
CollectionItem* item = itemFromIndex< CollectionItem >( m_contextMenuIndex );
|
||||
if ( !item->source()->isLocal() )
|
||||
m_followMenu.exec( mapToGlobal( pos ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user