We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 804cc45 commit ef5bb07Copy full SHA for ef5bb07
src/plugins/grass/qgsgrassplugin.cpp
@@ -368,7 +368,10 @@ void QgsGrassPlugin::addRaster()
368
QString name = uri.right( uri.length() - pos - 1 );
369
name.replace('/', ' ');
370
371
- qGisInterface->addRasterLayer( uri );
+ //qGisInterface->addRasterLayer( uri );
372
+ QgsRasterLayer *layer = new QgsRasterLayer( uri, sel->map );
373
+ qGisInterface->addRasterLayer(layer);
374
+
375
mCanvas->refresh();
376
}
377
0 commit comments