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:
Jacob Boerema
2024-01-08 18:06:59 -05:00
parent bdac126fb1
commit c44819f58b

View File

@ -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()