diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-18 16:36:50 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-08-18 16:54:58 +0900 |
commit | 49d339b72edf13e399f3143169a94127950d361b (patch) | |
tree | 0ee782b7e5c02b3dc79daf748fe7c182afd8f8e5 | |
parent | 9008dd88bcebc8a4378c3bbbcd23ff81f00fa167 (diff) | |
download | efl-49d339b72edf13e399f3143169a94127950d361b.tar.gz |
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
-rw-r--r-- | src/lib/elementary/elm_color_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |