mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
dxf export: trim whitespace from layernames
This commit is contained in:
parent
a1fb1b8a93
commit
36267f5935
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user