Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
always save last used dir in Raster terrain analysis plugin (fix #4693)
  • Loading branch information
alexbruy committed Jan 11, 2012
1 parent c4fd820 commit 7a9110a
Showing 1 changed file with 1 addition and 4 deletions.
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 7a9110a

Please sign in to comment.