Skip to content
Permalink
Browse files

[fTools] fixes zoom to error in check geometry validity tool

  • Loading branch information
slarosa committed Jun 23, 2013
1 parent d1fd484 commit 10152e6d47fbdd7ee0a9014b9ebb9c94d8d3fcdd
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doValidate.py
@@ -166,7 +166,7 @@ def zoomToError(self, curr, prev):
mc = self.iface.mapCanvas()
mc.zoomToPreviousExtent()

e = item.data(Qt.UserRole).toPyObject()
e = item.data(Qt.UserRole)

if type(e)==QgsPoint:
e = mc.mapRenderer().layerToMapCoordinates( self.vlayer, e )

0 comments on commit 10152e6

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