Skip to content
Permalink
Browse files

[needs-docs] Don't show embedded layers in italics

Since the new indicator shows this in a better, less
visually noisy, way.
  • Loading branch information
nyalldawson committed Jun 9, 2018
1 parent f633bbc commit 093071856f0aa188d31b1d6883ceff974060e48e
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/layertree/qgslayertreemodel.cpp
@@ -257,8 +257,6 @@ QVariant QgsLayerTreeModel::data( const QModelIndex &index, int role ) const
else if ( role == Qt::FontRole )
{
QFont f( QgsLayerTree::isLayer( node ) ? mFontLayer : ( QgsLayerTree::isGroup( node ) ? mFontGroup : QFont() ) );
if ( node->customProperty( QStringLiteral( "embedded" ) ).toInt() )
f.setItalic( true );
if ( index == mCurrentIndex )
f.setUnderline( true );
return f;

0 comments on commit 0930718

Please sign in to comment.
You can’t perform that action at this time.