Skip to content

Commit

Permalink
[fTools] use QErrorMessage for long errors (fix #11810)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 21, 2016
1 parent 72a1e7e commit 085c12e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/plugins/fTools/tools/doEliminate.py
Expand Up @@ -233,9 +233,7 @@ def eliminate(self, inLayer, boundary, progressBar, outFileName):

fidList += unicode(fid)

QMessageBox.information(
self,
self.tr("Eliminate"),
QErrorMessage(self).showMessage(
self.tr("Could not eliminate features with these ids:\n%s") % (fidList))
else:
QMessageBox.warning(self, self.tr("Eliminate"), self.tr("Could not add features"))
Expand Down

0 comments on commit 085c12e

Please sign in to comment.