Skip to content
Permalink
Browse files

[fTools] use QErrorMessage for long errors (fix #11810)

  • Loading branch information
alexbruy committed Jan 21, 2016
1 parent 72a1e7e commit 085c12e92474f130f328a664df895ef3b4748756
Showing with 1 addition and 3 deletions.
  1. +1 −3 python/plugins/fTools/tools/doEliminate.py
@@ -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"))

0 comments on commit 085c12e

Please sign in to comment.
You can’t perform that action at this time.