Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Show success / failure of dxf export in message bar
  • Loading branch information
mhugent committed Dec 6, 2013
1 parent a75de2b commit ebbb976
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -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 );
}
}
}

Expand Down

0 comments on commit ebbb976

Please sign in to comment.