unfocus focused+disabled widget always, not just when focus jump fails

pretty sure this doesn't affect anything in e18, but it does break things in a really hard to reproduce setting involving clicking/disabling/focusing widgets simultaneously
This commit is contained in:
discomfitor 2013-10-26 09:53:15 +01:00
parent b11305652d
commit b67381916e
1 changed files with 2 additions and 1 deletions

View File

@ -460,7 +460,8 @@ e_widget_disabled_set(Evas_Object *obj, int disabled)
if (!o) break;
parent = o;
}
if (!e_widget_focus_jump(parent, 1))
e_widget_focus_jump(parent, 1);
if (sd->focused)
{
sd->focused = 0;
if (sd->focus_func) sd->focus_func(obj);