Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Jan 21, 2011
1 parent 000a28d commit b0ae192
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mapserver/qgsconfigparser.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit b0ae192

Please sign in to comment.