Skip to content
Browse files
Fix bug with outdated name of QgsRectangle class (QgsRect)
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Feb 5, 2010
1 parent 558e816 commit 5cbb5c7aaad66dd6a2ae06ebe7f27d155dc1c947
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/
@@ -76,7 +76,7 @@ def accept(self):
mLayer = self.getMapLayerByName(unicode(inName))
boundBox = mLayer.extent()
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,"Generate Regular Points"),"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 5cbb5c7

Please sign in to comment.