Skip to content

Commit

Permalink
[processing] Add comment to make it clear why we need to close the di…
Browse files Browse the repository at this point in the history
…alog here
  • Loading branch information
gacarrillor authored and m-kuhn committed May 3, 2018
1 parent df69026 commit ac508d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/processing/tools/general.py
Expand Up @@ -154,5 +154,6 @@ def execAlgorithmDialog(algOrName, parameters={}):
canvas.setMapTool(prevMapTool)

results = dlg.results()
# make sure the dialog is destroyed and not only hidden on pressing Esc
dlg.close()
return results

0 comments on commit ac508d4

Please sign in to comment.