Skip to content

Commit

Permalink
[processing] provide some more info in batch processing interface
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Jun 20, 2014
1 parent 5a1d24d commit 2b234d9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions python/plugins/processing/gui/BatchProcessingDialog.py
Expand Up @@ -199,17 +199,19 @@ def accept(self):
self.table.setEnabled(False)
self.tabWidget.setCurrentIndex(1)
self.progress.setMaximum(len(self.algs))
# make sure the log tab is visible before executing the algorithm
try:
self.repaint()
except:
pass
for (i, alg) in enumerate(self.algs):
self.setBaseText('Processing algorithm ' + str(i + 1) + '/'
+ str(len(self.algs)) + '...')
# make sure the log tab is visible before executing the algorithm
try:
self.repaint()
except:
pass
self.setInfo('<b>Algorithm %s starting...</b>' % alg.name)
if UnthreadedAlgorithmExecutor.runalg(alg, self) and not self.canceled:
if self.load[i]:
handleAlgorithmResults(alg, self, False)
self.setInfo('Algorithm %s correctly executed...' % alg.name)
else:
QApplication.restoreOverrideCursor()
return
Expand Down

0 comments on commit 2b234d9

Please sign in to comment.