mirror of https://github.com/GNOME/gimp.git
app: display in the set color space when a color dialog is not context-aware.
In particular, palette's colors will want to be shown in their own space (which may in fact be the image's space, for indexed image's colormap; or in various spaces for named palettes).
This commit is contained in:
parent
c26ca2339a
commit
8fff258286
|
@ -552,6 +552,9 @@ gimp_color_dialog_set_color (GimpColorDialog *dialog,
|
|||
color);
|
||||
gimp_color_selection_set_old_color (GIMP_COLOR_SELECTION (dialog->selection),
|
||||
color);
|
||||
if (! dialog->user_context_aware)
|
||||
gimp_color_selection_set_format (GIMP_COLOR_SELECTION (dialog->selection),
|
||||
gegl_color_get_format (color));
|
||||
|
||||
g_signal_handlers_unblock_by_func (dialog->selection,
|
||||
gimp_color_dialog_color_changed,
|
||||
|
|
Loading…
Reference in New Issue