Skip to content
Permalink
Browse files

user layerName() when adding raster from browser (#5636)

  • Loading branch information
etiennesky authored and jef-n committed Jun 16, 2012
1 parent 74110ae commit 26c083b841c7798959d680fcf8bf0bab7e920061
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsbrowserdockwidget.cpp
@@ -307,7 +307,7 @@ void QgsBrowserDockWidget::addLayer( QgsLayerItem *layerItem )
}
if ( type == QgsMapLayer::RasterLayer )
{
QgisApp::instance()->addRasterLayer( uri, layerItem->name(), providerKey );
QgisApp::instance()->addRasterLayer( uri, layerItem->layerName(), providerKey );
}
}

0 comments on commit 26c083b

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