mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-18 00:03:05 -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 = self.iface.mapCanvas()
|
||||||
mc.zoomToPreviousExtent()
|
mc.zoomToPreviousExtent()
|
||||||
|
|
||||||
e = item.data(Qt.UserRole).toPyObject()
|
e = item.data(Qt.UserRole)
|
||||||
|
|
||||||
if type(e)==QgsPoint:
|
if type(e)==QgsPoint:
|
||||||
e = mc.mapRenderer().layerToMapCoordinates( self.vlayer, e )
|
e = mc.mapRenderer().layerToMapCoordinates( self.vlayer, e )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user