Skip to content

Commit

Permalink
reapply fix for #4693 (broken in 8ed3e6d)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 12, 2012
1 parent 1c3117e commit c8ac76c
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -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.