Skip to content


Browse files Browse the repository at this point in the history
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 5cbb5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/
Expand Up @@ -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:
Expand Down

0 comments on commit 5cbb5c7

Please sign in to comment.