Skip to content

Commit 10152e6

Browse files
committedJun 23, 2013
[fTools] fixes zoom to error in check geometry validity tool
1 parent d1fd484 commit 10152e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/fTools/tools/doValidate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def zoomToError(self, curr, prev):
166166
mc = self.iface.mapCanvas()
167167
mc.zoomToPreviousExtent()
168168

169-
e = item.data(Qt.UserRole).toPyObject()
169+
e = item.data(Qt.UserRole)
170170

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

0 commit comments

Comments
 (0)
Please sign in to comment.