ajwillia-ms pushed a commit to branch elementary-1.15.

http://git.enlightenment.org/core/elementary.git/commit/?id=b5f416069cb3a260e936f764768b334150726c22

commit b5f416069cb3a260e936f764768b334150726c22
Author: Andy Williams <a...@andywilliams.me>
Date:   Sun Sep 20 11:47:23 2015 +0100

    [spinner] Notify when value is edited directly
    
    Previously an edit would trigger internal save but not notify
    until the up/down button was tapped.
    Now notify when value applied (unfocus). @fix
---
 src/lib/elm_spinner.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index 1903cf9..2cc309c 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -216,6 +216,8 @@ _val_set(Evas_Object *obj)
      pos = 1.0;
    edje_object_part_drag_value_set
      (wd->resize_obj, "elm.dragable.slider", pos, pos);
+
+   eo_do(obj, eo_event_callback_call(ELM_SPINNER_EVENT_CHANGED, NULL));
 }
 
 static void

-- 


Reply via email to