We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 4bf3dc3 commit f2d4561Copy full SHA for f2d4561
src/sextante/core/Sextante.py
@@ -337,18 +337,13 @@ def runandload(name, *args):
337
return
338
339
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:
+ algEx = AlgorithmExecutor(alg)
+ def finish():
345
SextantePostprocessing.handleAlgorithmResults(alg)
346
-
347
348
349
350
351
352
+ QApplication.restoreOverrideCursor()
+ algEx.finished.connect(finish)
+ algEx.start()
+
353
354
0 commit comments