mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[fTools] fixes zoom to error in check geometry validity tool
This commit is contained in:
parent
d1fd484bd3
commit
10152e6d47
@ -166,7 +166,7 @@ class ValidateDialog( QDialog, Ui_Dialog ):
|
||||
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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user