Skip to content

Commit ac508d4

Browse files
gacarrillorm-kuhn
authored andcommittedMay 3, 2018
[processing] Add comment to make it clear why we need to close the dialog here
1 parent df69026 commit ac508d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎python/plugins/processing/tools/general.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,6 @@ def execAlgorithmDialog(algOrName, parameters={}):
154154
canvas.setMapTool(prevMapTool)
155155

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

0 commit comments

Comments
 (0)
Please sign in to comment.