Commit c7a29e5f authored by Ell's avatar Ell

Issue #3353 - Gimp 2.10.10 freezes while changing Background color ...

... in LCh colorspace

In gimptoolbox-color-area, when setting the context's background
color in response to a color-dialog change, block the right signal
handler, to avoid re-setting the color dialog's color, which would
cause the GtkAdjustment's "value-changed" signal (assuming it was
the source of the change) to be restarted if the new value doesn't
match the current one exactly, which can happen due to conversion
errors.
parent a761ed3a
......@@ -179,13 +179,13 @@ color_area_dialog_update (GimpColorDialog *dialog,
else
{
g_signal_handlers_block_by_func (context,
color_area_foreground_changed,
color_area_background_changed,
dialog);
gimp_context_set_background (context, color);
g_signal_handlers_unblock_by_func (context,
color_area_foreground_changed,
color_area_background_changed,
dialog);
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment