[Radio] fix wrong state set 05/91405/2
authorSungtaek Hong <sth253.hong@samsung.com>
Fri, 7 Oct 2016 08:50:32 +0000 (17:50 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 7 Oct 2016 09:01:53 +0000 (02:01 -0700)
Change-Id: Ib93bb78c41df164bc6c4df29f2cd6668ccddbdd4
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
src/lib/elm_radio.c

index e851641..50c0c2a 100644 (file)
@@ -226,7 +226,7 @@ _elm_radio_elm_widget_theme_apply(Eo *obj, Elm_Radio_Data *sd)
    if (sd->state) elm_layout_signal_emit(obj, "elm,state,radio,on", "elm");
    else elm_layout_signal_emit(obj, "elm,state,radio,off", "elm");
 
-   if (sd->state) _state_set(obj, EINA_FALSE, EINA_FALSE);
+   if (sd->state) _state_set(obj, EINA_TRUE, EINA_FALSE);
 
    edje_object_message_signal_process(wd->resize_obj);