ecore: fix efl_model_property_ready_get to actually return the right future when the data is not ready.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8658
This commit is contained in:
Cedric BAIL 2019-04-18 09:35:48 -07:00
parent fcd5eb755b
commit 8872e48458
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ _efl_loop_model_efl_model_property_ready_get(Eo *obj, void *pd EINA_UNUSED, cons
efl_event_callback_add(obj,
EFL_MODEL_EVENT_PROPERTIES_CHANGED,
_propagate_future, wd);
return efl_future_then(obj, eina_future_new(wd->p));
}
return eina_future_rejected(efl_loop_future_scheduler_get(obj), err);