Skip to content

Commit

Permalink
[fTools] fixes zoom to error in check geometry validity tool
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Jun 23, 2013
1 parent d1fd484 commit 10152e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doValidate.py
Expand Up @@ -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 )
Expand Down

0 comments on commit 10152e6

Please sign in to comment.