plug-ins: Fix crash in Export Histogram on file save

Resolves #11742
gimp_procedure_dialog_get_file_chooser () does not
work with GtkFileChooserAction.SAVE enums yet.
This was incorrectly left in by f5b7f734.
This patch removes the command to fix a crash.
This commit is contained in:
Alx Sa 2024-06-27 11:14:12 +00:00
parent 0c3bf56d83
commit 2bd598bcfd
1 changed files with 1 additions and 2 deletions

View File

@ -170,8 +170,7 @@ def run(procedure, run_mode, image, n_layers, layers, config, data):
dialog = GimpUi.ProcedureDialog.new(procedure, config, _("Histogram Export..."))
dialog.get_file_chooser ("file", Gtk.FileChooserAction.SAVE)
radio_frame = dialog.get_widget ("output-format", GimpUi.IntRadioFrame)
radio_frame = dialog.get_widget("output-format", GimpUi.IntRadioFrame)
dialog.fill(None)