mirror of https://github.com/GNOME/gimp.git
plug-ins: Fix inverted logic in file-bmp
Resolves #12018 During the port to GimpProcedureDialog, we accidentally inverted the set_sensitive () logic for using RLE and the RGB format. RLE was being locked for indexed images while the RGB format was being locked for RGB images. This patch inverts the two conditions to fix the issue.
This commit is contained in:
parent
b54a70af69
commit
fc8194ccf3
|
@ -992,7 +992,7 @@ save_dialog (GimpProcedure *procedure,
|
|||
/* Run-Length Encoded */
|
||||
gimp_procedure_dialog_set_sensitive (GIMP_PROCEDURE_DIALOG (dialog),
|
||||
"use-rle",
|
||||
(channels > 1 || bpp == 1),
|
||||
! (channels > 1 || bpp == 1),
|
||||
NULL, NULL, FALSE);
|
||||
|
||||
/* Compatibility Options */
|
||||
|
@ -1028,7 +1028,7 @@ save_dialog (GimpProcedure *procedure,
|
|||
|
||||
gimp_procedure_dialog_set_sensitive (GIMP_PROCEDURE_DIALOG (dialog),
|
||||
"rgb-format",
|
||||
(channels < 3),
|
||||
(channels >= 3),
|
||||
NULL, NULL, FALSE);
|
||||
|
||||
/* Formatting the dialog */
|
||||
|
|
Loading…
Reference in New Issue