Skip to content
Permalink
Browse files
dxf export: add extension (fixes #9544)
  • Loading branch information
jef-n committed Feb 12, 2014
1 parent 4488551 commit 9d379f0d1d1ad8e712c5bb449e5b0d44280fd635
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgisapp.cpp
@@ -3877,7 +3877,10 @@ void QgisApp::dxfExport()
}
}

QFile dxfFile( d.saveFile() );
QString fileName( d.saveFile() );
if ( !fileName.endsWith( ".dxf", Qt::CaseInsensitive ) )
fileName += ".dxf";
QFile dxfFile( fileName );
if ( dxfExport.writeToFile( &dxfFile ) == 0 )
{
messageBar()->pushMessage( tr( "DXF export completed" ), QgsMessageBar::INFO, 4 );

0 comments on commit 9d379f0

Please sign in to comment.