summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-01 13:29:06 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-03 20:40:09 +0200
commit755862095752db165db5c48faa2bf8cd1d53fcdf (patch)
treebd1836eeb7d09ab97bb3038aec495b75348e6258 /src/lib/elementary/efl_ui_spin_button.c
parentdb18d67af9470a34b93cd301afeebcf9db1696f7 (diff)
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
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index cfd13cf..ef53137 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -772,8 +772,7 @@ _efl_ui_spin_button_efl_access_value_value_and_text_set(Eo *obj, Efl_Ui_Spin_But
772 if (pd->val_min > value) return EINA_FALSE; 772 if (pd->val_min > value) return EINA_FALSE;
773 if (pd->val_max < value) return EINA_FALSE; 773 if (pd->val_max < value) return EINA_FALSE;
774 774
775 pd->val = value; 775 efl_ui_range_value_set(obj, value);
776 efl_ui_range_value_set(efl_super(obj, MY_CLASS), value);
777 776
778 return EINA_TRUE; 777 return EINA_TRUE;
779} 778}