forked from enlightenment/efl
elementary/ctxpopup - disable the contents when they are exist.
This commit is contained in:
parent
4471e2f7ec
commit
a50d31125d
|
@ -1109,7 +1109,9 @@ _elm_ctxpopup_smart_disable(Eo *obj, void *_pd, va_list *list)
|
|||
|
||||
eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
|
||||
if (!int_ret) return;
|
||||
|
||||
if (sd->list)
|
||||
elm_object_disabled_set(sd->list, elm_widget_disabled_get(obj));
|
||||
else if (sd->content)
|
||||
elm_object_disabled_set(sd->list, elm_widget_disabled_get(obj));
|
||||
|
||||
if (ret) *ret = EINA_TRUE;
|
||||
|
|
Loading…
Reference in New Issue