Skip to content

Commit

Permalink
Wms print: keep not referenced labels with default text
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15061 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 21, 2011
1 parent 07865fc commit 5133ec9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mapserver/qgsconfigparser.cpp
Original file line number Diff line number Diff line change
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 5133ec9

Please sign in to comment.