plug-ins: fix foggify AttributeError on Cancel
When cancelling foggify we get the following error: AttributeError: 'GimpProcedureConfig-python-fu-foggify' object has no attribute 'end_run' The end_run function was removed a while ago, so just remove this line.
This commit is contained in:
@ -36,7 +36,6 @@ def foggify(procedure, run_mode, image, n_drawables, drawables, config, data):
|
||||
dialog.fill(None)
|
||||
if not dialog.run():
|
||||
dialog.destroy()
|
||||
config.end_run(Gimp.PDBStatusType.CANCEL)
|
||||
return procedure.new_return_values(Gimp.PDBStatusType.CANCEL, GLib.Error())
|
||||
else:
|
||||
dialog.destroy()
|
||||
|
Reference in New Issue
Block a user