Skip to content

Commit 2b234d9

Browse files
committedJun 20, 2014
[processing] provide some more info in batch processing interface
1 parent 5a1d24d commit 2b234d9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
 

‎python/plugins/processing/gui/BatchProcessingDialog.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,17 +199,19 @@ def accept(self):
199199
self.table.setEnabled(False)
200200
self.tabWidget.setCurrentIndex(1)
201201
self.progress.setMaximum(len(self.algs))
202+
# make sure the log tab is visible before executing the algorithm
203+
try:
204+
self.repaint()
205+
except:
206+
pass
202207
for (i, alg) in enumerate(self.algs):
203208
self.setBaseText('Processing algorithm ' + str(i + 1) + '/'
204209
+ str(len(self.algs)) + '...')
205-
# make sure the log tab is visible before executing the algorithm
206-
try:
207-
self.repaint()
208-
except:
209-
pass
210+
self.setInfo('<b>Algorithm %s starting...</b>' % alg.name)
210211
if UnthreadedAlgorithmExecutor.runalg(alg, self) and not self.canceled:
211212
if self.load[i]:
212213
handleAlgorithmResults(alg, self, False)
214+
self.setInfo('Algorithm %s correctly executed...' % alg.name)
213215
else:
214216
QApplication.restoreOverrideCursor()
215217
return

0 commit comments

Comments
 (0)
Please sign in to comment.