jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=49d339b72edf13e399f3143169a94127950d361b

commit 49d339b72edf13e399f3143169a94127950d361b
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 9650022ba9..d0102dc69c 100644
--- a/src/lib/elementary/elm_color_class.c
+++ b/src/lib/elementary/elm_color_class.c
@@ -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
      {

-- 


Reply via email to