Skip to content

Commit

Permalink
[ftools] avoid trivial error for Random selection tool
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Dec 2, 2013
1 parent f5aca96 commit 2feacbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/fTools/tools/doRandom.py
Expand Up @@ -60,6 +60,7 @@ def accept(self):
self.buttonOk.setEnabled( False )
if self.inShape.currentText() == "":
QMessageBox.information(self, self.tr("Random Selection Tool"), self.tr("No input shapefile specified"))
return
else:
self.progressBar.setValue(10)
inName = self.inShape.currentText()
Expand Down

0 comments on commit 2feacbc

Please sign in to comment.