elm_check.c: Do not execute smart_activate when the widget is disabled.

This commit is contained in:
Jaehwan Kim 2013-11-08 21:46:58 +09:00 committed by Daniel Juyung Seo
parent 4bea4e8b5f
commit 7fd0806355
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ _elm_check_smart_activate(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *l
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
if (elm_widget_disabled_get(obj)) return;
if (act != ELM_ACTIVATE_DEFAULT) return;
_activate(obj);