jpeg pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=26aeae5f31e176952a675b9cb655123a37e53156

commit 26aeae5f31e176952a675b9cb655123a37e53156
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Fri Aug 18 16:36:50 2017 +0900

    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
---
 src/lib/elementary/elm_color_class.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_color_class.c 
b/src/lib/elementary/elm_color_class.c
index f88b8efbc5..9feab9e51b 100644
--- a/src/lib/elementary/elm_color_class.c
+++ b/src/lib/elementary/elm_color_class.c
@@ -234,7 +234,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
      {

-- 


Reply via email to