Skip to content
Permalink
Browse files

Fix crash if adding sublayers via plugin interface

  • Loading branch information
mhugent committed Feb 17, 2014
1 parent d39d2a7 commit e6e06146411016f86bc144e91ad8f6b9b8190797
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -7322,7 +7322,7 @@ QgsVectorLayer* QgisApp::addVectorLayer( QString vectorLayerPath, QString baseNa
// The first layer loaded is not useful in that case. The user can select it in
// the list if he wants to load it.
delete layer;

layer = 0;
}
else
{

0 comments on commit e6e0614

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