Skip to content
Permalink
Browse files
raster name in legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4924 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 28, 2006
1 parent dccce7b commit aaeac761f2a9b08c328cf58e2ccafd13b4c95429
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/plugins/grass/qgsgrassplugin.cpp
@@ -368,7 +368,10 @@ void QgsGrassPlugin::addRaster()
QString name = uri.right( uri.length() - pos - 1 );
name.replace('/', ' ');

qGisInterface->addRasterLayer( uri );
//qGisInterface->addRasterLayer( uri );
QgsRasterLayer *layer = new QgsRasterLayer( uri, sel->map );
qGisInterface->addRasterLayer(layer);

mCanvas->refresh();
}
}

0 comments on commit aaeac76

Please sign in to comment.