mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
fixed minor issue refreshing extent
git-svn-id: http://svn.osgeo.org/qgis/trunk@14977 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
1650e86b10
commit
d688368031
@ -82,7 +82,6 @@ class GdalToolsExtentSelector(QWidget, Ui_ExtentSelector):
|
|||||||
|
|
||||||
def fillCoords(self):
|
def fillCoords(self):
|
||||||
rect = self.getExtent()
|
rect = self.getExtent()
|
||||||
|
|
||||||
self.blockSignals(True)
|
self.blockSignals(True)
|
||||||
if rect != None:
|
if rect != None:
|
||||||
self.x1CoordEdit.setText( str(rect.xMinimum()) )
|
self.x1CoordEdit.setText( str(rect.xMinimum()) )
|
||||||
@ -95,8 +94,7 @@ class GdalToolsExtentSelector(QWidget, Ui_ExtentSelector):
|
|||||||
self.y1CoordEdit.clear()
|
self.y1CoordEdit.clear()
|
||||||
self.y2CoordEdit.clear()
|
self.y2CoordEdit.clear()
|
||||||
self.blockSignals(False)
|
self.blockSignals(False)
|
||||||
|
self.emit( SIGNAL( "newExtentDefined()" ) )
|
||||||
self.coordsChanged()
|
|
||||||
|
|
||||||
class RectangleMapTool(QgsMapToolEmitPoint):
|
class RectangleMapTool(QgsMapToolEmitPoint):
|
||||||
def __init__(self, canvas):
|
def __init__(self, canvas):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user