Skip to content

Commit f2d4561

Browse files
author
cpolymeris@gmail.com
committed
History processing moved to separate thread. Note not much user feedback.
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@236 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent 4bf3dc3 commit f2d4561

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

src/sextante/core/Sextante.py

+7-12
Original file line numberDiff line numberDiff line change
@@ -337,18 +337,13 @@ def runandload(name, *args):
337337
return
338338

339339
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
340-
#~ ret = AlgorithmExecutor.runalg(alg, SilentProgress())
341-
algex = AlgorithmExecutor(alg, SilentProgress())
342-
algex.start()
343-
QApplication.restoreOverrideCursor()
344-
if ret:
340+
algEx = AlgorithmExecutor(alg)
341+
def finish():
345342
SextantePostprocessing.handleAlgorithmResults(alg)
346-
347-
348-
349-
350-
351-
352-
343+
QApplication.restoreOverrideCursor()
344+
algEx.finished.connect(finish)
345+
algEx.start()
346+
347+
353348

354349

0 commit comments

Comments
 (0)