Skip to content

Issue #2318: Retain color scale preferences in color dialogue

Alx Sa requested to merge alxsa-massimo-retain-color-dialogue into master

This patch is a port of @Massimo's patch to resolve issue #2318 (closed). Currently in the Color Selector dialog, GIMP does not remember your preferences for displaying RGB values in 0...255 or 0...100% mode, nor your preferences for LCh or HSV in the color scales when the program closes and reopens.

This patch connects the existing SHOW_RGB_U8 property in GimpColorScales to GimpColorConfig so it is retained on restart. It adds a similar property for SHOW_HSV to retain those settings.

It also explicitly casts a few anonymous enums to GimpColorSelectorChannel to remove some warning messages when compiled.

Merge request reports