summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungtaek Hong <sth253.hong@samsung.com>2017-11-07 21:08:40 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-07 21:08:40 +0900
commit439fbe4bcb4c34ff7dabd802bd4e139b57f6dd50 (patch)
treeef51d8891ced2ec90480c5a877a39dd0acd45756
parent12fa8caec5fcf0deefd343f28f1522965516d4e6 (diff)
efl_ui_radio: keep radio state when theme is changed
Summary: during elm_widget_theme_apply() state was set to off when state is on. @fix Test Plan: change locale/theme when a radio is on. Reviewers: jpeg, cedric, woohyun Differential Revision: https://phab.enlightenment.org/D5432
-rw-r--r--src/lib/elementary/efl_ui_radio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_radio.c b/src/lib/elementary/efl_ui_radio.c
index 3281fecaa9..c6ef4f0904 100644
--- a/src/lib/elementary/efl_ui_radio.c
+++ b/src/lib/elementary/efl_ui_radio.c
@@ -157,8 +157,6 @@ _efl_ui_radio_elm_widget_theme_apply(Eo *obj, Efl_Ui_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);
-
edje_object_message_signal_process(wd->resize_obj);
/* FIXME: replicated from elm_layout just because radio's icon