[QGIS Commit] r14977 - trunk/qgis/python/plugins/GdalTools/tools

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Dec 27 12:12:10 EST 2010


Author: brushtyler
Date: 2010-12-27 09:12:10 -0800 (Mon, 27 Dec 2010)
New Revision: 14977

Modified:
   trunk/qgis/python/plugins/GdalTools/tools/extentSelector.py
Log:
fixed minor issue refreshing extent


Modified: trunk/qgis/python/plugins/GdalTools/tools/extentSelector.py
===================================================================
--- trunk/qgis/python/plugins/GdalTools/tools/extentSelector.py	2010-12-27 16:55:17 UTC (rev 14976)
+++ trunk/qgis/python/plugins/GdalTools/tools/extentSelector.py	2010-12-27 17:12:10 UTC (rev 14977)
@@ -82,7 +82,6 @@
 
   def fillCoords(self):
       rect = self.getExtent()
-
       self.blockSignals(True)
       if rect != None:
         self.x1CoordEdit.setText( str(rect.xMinimum()) )
@@ -95,9 +94,8 @@
         self.y1CoordEdit.clear()
         self.y2CoordEdit.clear()
       self.blockSignals(False)
+      self.emit( SIGNAL( "newExtentDefined()" ) )
 
-      self.coordsChanged()
-
 class RectangleMapTool(QgsMapToolEmitPoint):
   def __init__(self, canvas):
       self.canvas = canvas



More information about the QGIS-commit mailing list