Bug 623886 - CancelError exception support for gimpfu.py

This commit is contained in:
Carol Spears
2016-05-25 20:23:19 +02:00
committed by Michael Schumacher
parent e4cf16e53a
commit 245bbbc107

View File

@ -734,6 +734,8 @@ def _interact(proc_name, start_params):
else:
try:
dialog.res = run_script(params)
except CancelError:
pass
except Exception:
dlg.set_response_sensitive(gtk.RESPONSE_CANCEL, True)
error_dialog(dialog, proc_name)