efl_ui_spin_button: stop calling only the parent

if the spin button is skipped the spin is called directly, the label
will display the wrong value.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D9473
This commit is contained in:
Marcel Hollerbach 2019-08-01 13:29:06 +02:00
parent db18d67af9
commit 7558620957
1 changed files with 1 additions and 2 deletions

View File

@ -772,8 +772,7 @@ _efl_ui_spin_button_efl_access_value_value_and_text_set(Eo *obj, Efl_Ui_Spin_But
if (pd->val_min > value) return EINA_FALSE;
if (pd->val_max < value) return EINA_FALSE;
pd->val = value;
efl_ui_range_value_set(efl_super(obj, MY_CLASS), value);
efl_ui_range_value_set(obj, value);
return EINA_TRUE;
}