Navigation Menu

Skip to content

Commit

Permalink
dxf export: trim whitespace from layernames
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Dec 14, 2015
1 parent a1fb1b8 commit 36267f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dxf/qgsdxfexport.cpp
Expand Up @@ -4099,7 +4099,7 @@ QString QgsDxfExport::dxfLayerName( const QString& name )
layerName.replace( '=', '_' );
layerName.replace( '\'', '_' );

return layerName;
return layerName.trimmed();
}

bool QgsDxfExport::layerIsScaleBasedVisible( const QgsMapLayer* layer ) const
Expand Down

0 comments on commit 36267f5

Please sign in to comment.