Skip to content

Commit 2feacbc

Browse files
committed
[ftools] avoid trivial error for Random selection tool
1 parent f5aca96 commit 2feacbc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/plugins/fTools/tools/doRandom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def accept(self):
6060
self.buttonOk.setEnabled( False )
6161
if self.inShape.currentText() == "":
6262
QMessageBox.information(self, self.tr("Random Selection Tool"), self.tr("No input shapefile specified"))
63+
return
6364
else:
6465
self.progressBar.setValue(10)
6566
inName = self.inShape.currentText()

0 commit comments

Comments
 (0)