Skip to content
Permalink
Browse files

[processing] Add comment to make it clear why we need to close the di…

…alog here
  • Loading branch information
gacarrillor authored and m-kuhn committed May 3, 2018
1 parent df69026 commit ac508d4c78142749fa2fa114ea6935bf3dbfb61d
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/tools/general.py
@@ -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.
You can’t perform that action at this time.