diff options
author | Woochan Lee <wc0917.lee@samsung.com> | 2016-11-30 13:24:37 +0900 |
---|---|---|
committer | Hermet Park <hermet@hermet.pe.kr> | 2016-11-30 13:24:37 +0900 |
commit | 7b97d550048b469473e1641b6c1c8b893099cc41 (patch) | |
tree | ee44d147cbf207738b55d0d96c26b514b5cc69d9 | |
parent | 9eea2ddb9efaa26d70feeb080d96aefd903ed8d2 (diff) | |
download | efl-7b97d550048b469473e1641b6c1c8b893099cc41.tar.gz |
elm_calendar: Use the flag already declared.
Summary: Oops, i missed use it in previous commit(6c04755a922d396356a561b85e010105e6ff61ae)
Reviewers: cedric, jpeg, woohyun, Hermet
Reviewed By: Hermet
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4437
-rw-r--r-- | src/lib/elementary/elm_calendar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/elm_calendar.c b/src/lib/elementary/elm_calendar.c index 14cc38651e..971f893ed8 100644 --- a/src/lib/elementary/elm_calendar.c +++ b/src/lib/elementary/elm_calendar.c @@ -1550,7 +1550,7 @@ _key_action_move(Evas_Object *obj, const char *params) //Otherwise, give focus to dec_btn_month. if (sd->focused_it > (ELM_DAY_LAST / 2)) //Double spinner case. - if (edje_object_part_exists(wd->resize_obj, ELM_CALENDAR_BUTTON_YEAR_RIGHT)) + if (double_spinner) elm_object_focus_set(sd->inc_btn_year, EINA_TRUE); else elm_object_focus_set(sd->inc_btn_month, EINA_TRUE); @@ -1571,7 +1571,7 @@ _key_action_move(Evas_Object *obj, const char *params) { if (sd->focused_it > (ELM_DAY_LAST + (ELM_DAY_LAST / 2))) //Double spinner case. - if (edje_object_part_exists(wd->resize_obj, ELM_CALENDAR_BUTTON_YEAR_RIGHT)) + if (double_spinner) elm_object_focus_set(sd->inc_btn_year, EINA_TRUE); else elm_object_focus_set(sd->inc_btn_month, EINA_TRUE); |