Skip to content

Commit 253f5a9

Browse files
committed
[processing] reset progress bar after alg has finished running
1 parent 3c7f5c9 commit 253f5a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/plugins/processing/core/GeoAlgorithm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def execute(self, progress, model=None):
205205
it should be called using this method, since it performs
206206
some additional operations.
207207
208-
Raises a GeoAlgorithmExecutionException in case anything goe
208+
Raises a GeoAlgorithmExecutionException in case anything goes
209209
wrong.
210210
"""
211211
self.model = model
@@ -215,6 +215,7 @@ def execute(self, progress, model=None):
215215
self.checkOutputFileExtensions()
216216
self.runPreExecutionScript(progress)
217217
self.processAlgorithm(progress)
218+
progress.setPercentage(100)
218219
self.convertUnsupportedFormats(progress)
219220
self.runPostExecutionScript(progress)
220221
except GeoAlgorithmExecutionException, gaee:

0 commit comments

Comments
 (0)