mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Fix infinite progress when an algorithm could not be created
This commit is contained in:
parent
979adbbabf
commit
7acfefadad
@ -263,6 +263,9 @@ class AlgorithmDialog(QgsProcessingAlgorithmDialogBase):
|
||||
self.showLog()
|
||||
|
||||
task = QgsProcessingAlgRunnerTask(self.algorithm(), parameters, self.context, self.feedback)
|
||||
if task.isCanceled():
|
||||
on_complete(False, {})
|
||||
else:
|
||||
task.executed.connect(on_complete)
|
||||
self.setCurrentTask(task)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user