Skip to content
Permalink
Browse files
fix 45a933a
  • Loading branch information
jef-n committed Dec 2, 2012
1 parent 293e494 commit 44aa83b6af1e0021e7685281df43f92fc230f9f0
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/fTools/tools/doEliminate.py
@@ -221,15 +221,15 @@ def eliminate(self, inLayer, boundary, progressBar, outFileName = None):
# replace geometry in outLayer
if not outLayer.changeGeometry(aFid, newGeom):
QtGui.QMessageBox.warning(self, self.tr("Eliminate"),
self.tr("Could not replace geometry of feature with id %1").arg( aFid )
self.tr("Could not replace geometry of feature with id %1").arg( aFid ))
doCommit = False
break

# delete eliminated features
for aFid in fidsToDelete:
if not outLayer.deleteFeature(aFid):
QtGui.QMessageBox.warning(self, self.tr("Eliminate"),
self.tr("Could not delete feature with id %1").arg( aFid )
self.tr("Could not delete feature with id %1").arg( aFid ))
doCommit = False
break
# prepare array for the next loop

0 comments on commit 44aa83b

Please sign in to comment.