Skip to content
Permalink
Browse files

Show success / failure of dxf export in message bar

  • Loading branch information
mhugent committed Dec 6, 2013
1 parent a75de2b commit ebbb976e8a1716b0e0cfa30ee51c6d24d69a87d0
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/app/qgisapp.cpp
@@ -3837,7 +3837,14 @@ void QgisApp::dxfExport()
}
}
QFile dxfFile( d.saveFile() );
dxfExport.writeToFile( &dxfFile );
if ( dxfExport.writeToFile( &dxfFile ) == 0 )
{
messageBar()->pushMessage( tr( "DXF export completed" ), QgsMessageBar::INFO, 4 );
}
else
{
messageBar()->pushMessage( tr( "DXF export failed" ), QgsMessageBar::CRITICAL, 4 );
}
}
}

0 comments on commit ebbb976

Please sign in to comment.
You can’t perform that action at this time.