Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix 45a933a
  • Loading branch information
jef-n committed Dec 2, 2012
1 parent 293e494 commit 44aa83b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/fTools/tools/doEliminate.py
Expand Up @@ -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
Expand Down

0 comments on commit 44aa83b

Please sign in to comment.