Skip to content
Permalink
Browse files

Fixed renaming of composer legend nodes for raster layers

  • Loading branch information
wonder-sk committed Oct 2, 2014
1 parent 675ba9a commit 369b60a495c95532ae988b2ef18c699eddd514f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/layertree/qgslayertreemodellegendnode.cpp
@@ -454,7 +454,7 @@ QVariant QgsRasterSymbolLegendNode::data( int role ) const
return QIcon( pix );
}
else if ( role == Qt::DisplayRole || role == Qt::EditRole )
return mLabel;
return mUserLabel.isEmpty() ? mLabel : mUserLabel;
else
return QVariant();
}

0 comments on commit 369b60a

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