Skip to content

Commit

Permalink
user layerName() when adding raster from browser (#5636)
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennesky authored and jef-n committed Jun 16, 2012
1 parent 74110ae commit 26c083b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsbrowserdockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}

Expand Down

0 comments on commit 26c083b

Please sign in to comment.