Skip to content
Permalink
Browse files

[georef] Fix crash when loading new project with georeferencer open

  • Loading branch information
nyalldawson committed Jun 22, 2015
1 parent f037b11 commit c0609475527b98512ccd5a3dca84644e852cd88d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/georeferencer/qgsgeorefplugingui.cpp
@@ -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;

0 comments on commit c060947

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