[access] use given object, if there is no highlight object in _access_highlight_next_...
[framework/uifw/elementary.git] / src / lib / elm_access.c
index 1e0f5c5..3b6430e 100644 (file)
@@ -537,7 +537,7 @@ _access_highlight_next_get(Evas_Object *obj, Elm_Focus_Direction dir)
    if (!elm_widget_is(obj)) return ret;
 
    ho = _access_highlight_object_get(obj);
-   if (!ho) return ret;
+   if (!ho) ho = obj;
 
    parent = ho;