summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-03 14:01:35 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-03 14:04:18 +0200
commitbee2586b60e03738199023f250b1576042fcb982 (patch)
treebc62cbeebcd8a05d20af195bc6a9bbb378d7ee03 /doc
parentb6c76c78b8a0704b0dbe6e7c558dcc8787510290 (diff)
downloadefl-bee2586b60e03738199023f250b1576042fcb982.tar.gz
doc: improve colorselector preview
Summary: this has always been broken, it was just never noticed because colorselector was broken @fix ref T8304 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8304 Differential Revision: https://phab.enlightenment.org/D10278
Diffstat (limited to 'doc')
-rw-r--r--doc/widgets/widget_preview_colorselector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/widgets/widget_preview_colorselector.c b/doc/widgets/widget_preview_colorselector.c
index 784a2d67b4..48b3daca29 100644
--- a/doc/widgets/widget_preview_colorselector.c
+++ b/doc/widgets/widget_preview_colorselector.c
@@ -8,6 +8,7 @@ evas_object_show(bx);
Evas_Object *o = elm_colorselector_add(win);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);;
+elm_colorselector_palette_item_selected_set(eina_list_data_get(elm_colorselector_palette_items_get(o)), EINA_TRUE);
elm_box_pack_end(bx, o);
evas_object_show(o);