Skip to content
Permalink
Browse files

always save last used dir in Raster terrain analysis plugin (fix #4693)

  • Loading branch information
alexbruy committed Jan 11, 2012
1 parent c4fd820 commit 7a9110ab8de73475313f44ebeae76aaa31bf4c43
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/plugins/raster_terrain_analysis/qgsrasterterrainanalysisdialog.cpp
@@ -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 )

0 comments on commit 7a9110a

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