Skip to content
Permalink
Browse files

reapply fix for #4693 (broken in 8ed3e6d)

  • Loading branch information
alexbruy committed Jan 12, 2012
1 parent 1c3117e commit c8ac76c990e4b12a17f7ecb9d0f98b53427f6fab
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisdialog.cpp
@@ -392,9 +392,5 @@ void QgsRasterTerrainAnalysisDialog::on_mButtonBox_accepted()
s.setValue( "/RasterTerrainAnalysis/lastOutputFormat", QVariant( mOutputFormatComboBox->currentText() ) );

//save last output directory
QFileInfo outputFileInfo( mOutputLayerLineEdit->text() );
if ( outputFileInfo.exists() )
{
s.setValue( "/RasterTerrainAnalysis/lastOutputDir", QVariant( outputFileInfo.absolutePath() ) );
}
s.setValue( "/RasterTerrainAnalysis/lastOutputDir", QFileInfo( mOutputLayerLineEdit->text() ).absolutePath() );
}

0 comments on commit c8ac76c

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