Skip to content

Commit

Permalink
dxf export: trim whitespace from layernames
Browse files Browse the repository at this point in the history
(cherry picked from commit 36267f5)
  • Loading branch information
jef-n committed Dec 14, 2015
1 parent 80c5cb6 commit 9731d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dxf/qgsdxfexport.cpp
Expand Up @@ -4098,7 +4098,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 9731d84

Please sign in to comment.