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 3907acd commit 3558a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/dxf/qgsdxfexport.cpp
Expand Up @@ -4050,7 +4050,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 3558a21

Please sign in to comment.