Skip to content
Permalink
Browse files

Fix bug with outdated name of QgsRectangle class (QgsRect)

git-svn-id: http://svn.osgeo.org/qgis/trunk@12887 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer
cfarmer committed Feb 5, 2010
1 parent 8ed95c6 commit e363dbf501305c9a82306e14ff1c4192612c607a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doRegPoints.py
@@ -76,7 +76,7 @@ def accept(self):
mLayer = self.getMapLayerByName(unicode(inName))
boundBox = mLayer.extent()
else:
boundBox = QgsRect(float(self.xMin.text()), float(self.yMin.text()), float(self.xMax.text()), float(self.yMax.text()))
boundBox = QgsRectangle(float(self.xMin.text()), float(self.yMin.text()), float(self.xMax.text()), float(self.yMax.text()))
self.regularize(boundBox, outPath, offset, value, self.rdoSpacing.isChecked(), self.spnInset.value(), self.progressBar)
addToTOC = QMessageBox.question(self, self.tr("Generate Regular Points"), self.tr("Created output point shapefile:\n%1\n\nNote: Layer has no associated coordinate system, please use the Projection Management Tool to specify spatial reference system.\n\nWould you like to add the new layer to the TOC?").arg( outPath ), QMessageBox.Yes, QMessageBox.No, QMessageBox.NoButton)
if addToTOC == QMessageBox.Yes:

0 comments on commit e363dbf

Please sign in to comment.
You can’t perform that action at this time.