mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[processing] Make sure the log tab is visible before executing an algorithm
This commit is contained in:
parent
11b47517d0
commit
aa43059d5a
@ -251,6 +251,11 @@ class AlgorithmExecutionDialog(QtGui.QDialog):
|
||||
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 @@ class BatchProcessingDialog(AlgorithmExecutionDialog):
|
||||
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]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user