Skip to content
Permalink
Browse files
fix #2756
git-svn-id: http://svn.osgeo.org/qgis/trunk@13590 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 29, 2010
1 parent 731c5b5 commit 1c3876fa352209c1da9b9acaea58478169401ed3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/ogr/qgsvectorlayersaveasdialog.cpp
@@ -79,7 +79,7 @@ void QgsVectorLayerSaveAsDialog::on_mFormatComboBox_currentIndexChanged( int idx
void QgsVectorLayerSaveAsDialog::on_browseFilename_clicked()
{
QSettings settings;
QString dirName = leFilename->text().isEmpty() ? settings.value( "/UI/lastVectorfileDir", "." ).toString() : leFilename->text();
QString dirName = leFilename->text().isEmpty() ? settings.value( "/UI/lastVectorFileFilterDir", "." ).toString() : leFilename->text();
QString filterString = QgsVectorFileWriter::filterForDriver( format() );
QString outputFile = QFileDialog::getSaveFileName( 0, tr( "Save layer as..." ), dirName, filterString );
if ( !outputFile.isNull() )

0 comments on commit 1c3876f

Please sign in to comment.