Skip to content
Permalink
Browse files

Wms print: keep not referenced labels with default text

git-svn-id: http://svn.osgeo.org/qgis/trunk@15061 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jan 21, 2011
1 parent 000a28d commit b0ae192f219f61ab9e9e10d3c0252b1430afaafa
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/mapserver/qgsconfigparser.cpp
@@ -386,9 +386,7 @@ QgsComposition* QgsConfigParser::createPrintComposition( const QString& composer
QMap< QString, QString >::const_iterator titleIt = parameterMap.find( "LABEL" + QString::number( currentLabel->id() ) );
if ( titleIt == parameterMap.constEnd() )
{
//remove label
c->removeItem( *labelIt );
delete( *labelIt );
//keep label with default text and size
continue;
}

0 comments on commit b0ae192

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