aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_color_class.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-18 16:36:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-18 16:54:58 +0900
commit49d339b72edf13e399f3143169a94127950d361b (patch)
tree0ee782b7e5c02b3dc79daf748fe7c182afd8f8e5 /src/lib/elementary/elm_color_class.c
parentcolorselector: Fix invalid API (orient vs. dir) (diff)
downloadefl-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 https://phab.enlightenment.org/T3682
Diffstat (limited to 'src/lib/elementary/elm_color_class.c')
-rw-r--r--src/lib/elementary/elm_color_class.c2
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
{