Skip to content

Commit

Permalink
fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 29, 2016
1 parent cdb558c commit bf18062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def addGeometryToDimensionLayer(feat, type):
pr = vl.dataProvider()
pr.addFeatures([feat])
vl.updateExtents()
QgsMapLayerRegistry().instance().addMapLayer(vl, True)
QgsMapLayerRegistry.instance().addMapLayer(vl, True)
else:
layer = getLayerByName(layerName)
pr = layer.dataProvider()
Expand Down

0 comments on commit bf18062

Please sign in to comment.