Skip to content
Permalink
Browse files
Fix for ticket #4308
  • Loading branch information
mhugent authored and mach0 committed Nov 13, 2011
1 parent 52f267b commit 083924b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
@@ -195,7 +195,7 @@ void QgsInterpolationDialog::on_buttonBox_accepted()
mNumberOfRowsSpinBox->value(), mCellsizeXSpinBox->value(), mCellSizeYSpinBox->value() );
if ( theWriter.writeFile( true ) == 0 )
{
mIface->addRasterLayer( fileName, "Interpolation" );
mIface->addRasterLayer( fileName, QFileInfo( fileName ).baseName() );
accept();
}

@@ -26,6 +26,7 @@
#include "qgstotalcurvaturefilter.h"
#include "qgsrasterterrainanalysisdialog.h"
#include <QAction>
#include <QFileInfo>
#include <QProgressDialog>

static const QString name_ = QObject::tr( "Raster Terrain Analysis plugin" );
@@ -109,7 +110,7 @@ void QgsRasterTerrainAnalysisPlugin::run()
delete filter;
if ( d.addLayerToProject() )
{
mIface->addRasterLayer( outputFile, d.selectedAnalysisMethod() );
mIface->addRasterLayer( outputFile, QFileInfo( outputFile ).baseName() );
}
}
}

0 comments on commit 083924b

Please sign in to comment.