Skip to content

Commit

Permalink
[georef] Fix crash when loading new project with georeferencer open
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 22, 2015
1 parent f037b11 commit c060947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/georeferencer/qgsgeorefplugingui.cpp
Expand Up @@ -1165,7 +1165,7 @@ void QgsGeorefPluginGui::addRaster( QString file )

// so layer is not added to legend
QgsMapLayerRegistry::instance()->addMapLayers(
QList<QgsMapLayer *>() << mLayer, false );
QList<QgsMapLayer *>() << mLayer, false, false );

// add layer to map canvas
QList<QgsMapCanvasLayer> layers;
Expand Down

0 comments on commit c060947

Please sign in to comment.