Skip to content

Commit b0ae192

Browse files
author
mhugent
committed
Wms print: keep not referenced labels with default text
git-svn-id: http://svn.osgeo.org/qgis/trunk@15061 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 000a28d commit b0ae192

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mapserver/qgsconfigparser.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,7 @@ QgsComposition* QgsConfigParser::createPrintComposition( const QString& composer
386386
QMap< QString, QString >::const_iterator titleIt = parameterMap.find( "LABEL" + QString::number( currentLabel->id() ) );
387387
if ( titleIt == parameterMap.constEnd() )
388388
{
389-
//remove label
390-
c->removeItem( *labelIt );
391-
delete( *labelIt );
389+
//keep label with default text and size
392390
continue;
393391
}
394392

0 commit comments

Comments
 (0)