forked from enlightenment/enlightenment
Use simpler method for testing disabled state vs what we want it to be.
SVN revision: 41996
This commit is contained in:
parent
c6f9667e4b
commit
01ba9b9df5
|
@ -426,8 +426,7 @@ EAPI void
|
|||
e_widget_disabled_set(Evas_Object *obj, int disabled)
|
||||
{
|
||||
API_ENTRY return;
|
||||
if (((sd->disabled) && (disabled)) ||
|
||||
((!sd->disabled) && (!disabled))) return;
|
||||
if (sd->disabled == disabled) return;
|
||||
sd->disabled = disabled;
|
||||
if (sd->focused)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue