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 255f997 commit 89d22a65b630f80047f96d1c36b5885f26cc88ee
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 89d22a6

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