Skip to content
Permalink
Browse files
Automatically append pdf suffix for georef report
git-svn-id: http://svn.osgeo.org/qgis/trunk@13512 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 17, 2010
1 parent f686f8e commit 384a184da7ad25780ddeb1e4314cadaa866db986
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/plugins/georeferencer/qgstransformsettingsdialog.cpp
@@ -216,6 +216,10 @@ void QgsTransformSettingsDialog::on_tbnReportFile_clicked()
QString outputFileName = QFileDialog::getSaveFileName( 0, tr( "Select save PDF file" ), myLastUsedDir, tr( "PDF Format" ) + " (*.pdf *PDF)" );
if ( !outputFileName.isNull() )
{
if ( !outputFileName.endsWith( ".pdf", Qt::CaseInsensitive ) )
{
outputFileName.append( ".pdf" );
}
mReportFileLineEdit->setText( outputFileName );
}
}

0 comments on commit 384a184

Please sign in to comment.