[spinner] Notify when value is edited directly
authorAndy Williams <andy@andywilliams.me>
Sun, 20 Sep 2015 10:47:23 +0000 (11:47 +0100)
committerAndy Williams <andy@andywilliams.me>
Sun, 20 Sep 2015 10:47:39 +0000 (11:47 +0100)
Previously an edit would trigger internal save but not notify
until the up/down button was tapped.
Now notify when value applied (unfocus). @fix

legacy/elementary/src/lib/elm_spinner.c

index 46533c3..19168c4 100644 (file)
@@ -228,6 +228,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