Skip to content

Commit 3558a21

Browse files
committedDec 14, 2015
dxf export: trim whitespace from layernames
(cherry picked from commit 36267f5)
1 parent 3907acd commit 3558a21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/dxf/qgsdxfexport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4050,7 +4050,7 @@ QString QgsDxfExport::dxfLayerName( const QString& name )
40504050
layerName.replace( "=", "_" );
40514051
layerName.replace( "\'", "_" );
40524052

4053-
return layerName;
4053+
return layerName.trimmed();
40544054
}
40554055

40564056
bool QgsDxfExport::layerIsScaleBasedVisible( const QgsMapLayer* layer ) const

0 commit comments

Comments
 (0)
Please sign in to comment.