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:
parent
db18d67af9
commit
7558620957
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue