Skip to content
Permalink
Browse files

Fix for ticket #4308

  • Loading branch information
mhugent authored and marco committed Oct 13, 2011
1 parent 79130b3 commit 69fc3038f7a6071b65458b9e5b9eb008fc3789d2
@@ -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 69fc303

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