Skip to content

Commit

Permalink
always save last used dir in Raster terrain analysis plugin (fix #4693)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 11, 2012
1 parent 255f997 commit 89d22a6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ void QgsRasterTerrainAnalysisDialog::on_mButtonBox_accepted()

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

void QgsRasterTerrainAnalysisDialog::on_mOutputLayerLineEdit_textChanged( const QString& text )
Expand Down

0 comments on commit 89d22a6

Please sign in to comment.