Skip to content
Permalink
Browse files
[processing] Make sure the log tab is visible before executing an alg…
…orithm
  • Loading branch information
Rado Guzinski committed May 26, 2014
1 parent 11b4751 commit aa43059d5a5cf427cf0c0c566bb260fb1f3df289
Showing with 10 additions and 0 deletions.
  1. +5 −0 python/plugins/processing/gui/AlgorithmExecutionDialog.py
  2. +5 −0 python/plugins/processing/gui/BatchProcessingDialog.py
@@ -251,6 +251,11 @@ def accept(self):
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))

self.setInfo('<b>Algorithm %s starting...</b>' % self.alg.name)
# make sure the log tab is visible before executing the algorithm
try:
self.repaint()
except:
pass
if self.iterateParam:
if UnthreadedAlgorithmExecutor.runalgIterating(self.alg,
self.iterateParam, self):
@@ -200,6 +200,11 @@ def accept(self):
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
if UnthreadedAlgorithmExecutor.runalg(alg, self) \
and not self.canceled:
if self.load[i]:

0 comments on commit aa43059

Please sign in to comment.