We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ad82efe commit c81adf8Copy full SHA for c81adf8
src/core/dxf/qgsdxfexport.cpp
@@ -1002,7 +1002,7 @@ void QgsDxfExport::writeEntities()
1002
renderer->startRender( ctx, vl->fields() );
1003
1004
QStringList attributes = renderer->usedAttributes();
1005
- int attrIdx = mLayerNameAttribute.value( vl->id(), 1 );
+ int attrIdx = mLayerNameAttribute.value( vl->id(), -1 );
1006
if ( vl->fields().exists( attrIdx ) )
1007
{
1008
QString layerAttr = vl->fields().at( attrIdx ).name();
0 commit comments