elm_color_class: Save all cc overlays

It seems that cc overlays that didn't change got lost in the process of
saving elm_config and then reloading it (automatically happens because
the file changed... which we just wrote to).

Fixes T3682
This commit is contained in:
Jean-Philippe Andre 2017-08-18 16:36:50 +09:00
parent 9008dd88bc
commit 49d339b72e
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ _colorclass_activate(void *data, const Efl_Event *event)
static void
_colorclass_apply(Colorclass_UI *cc)
{
if (cc->changed && (!cc->change_reset))
if ((cc->changed && (!cc->change_reset)) || cc->exist)
_elm_config->color_overlays = eina_list_prepend(_elm_config->color_overlays, cc->current);
else
{