elm_spinner: Entry hide when inc/dec button pressed.
authorWoochan Lee <wc0917.lee@samsung.com>
Mon, 3 Jul 2017 07:57:06 +0000 (16:57 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 3 Jul 2017 07:57:22 +0000 (16:57 +0900)
Summary:
The entry cursor does not disappear when the user pressed(long press value change case) inc/dec button.

@fix

Test Plan: elementary_test -> spinner.

Reviewers: cedric, jpeg, woohyun

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4997

src/lib/elementary/elm_spinner.c

index 1d188f7..4eda611 100644 (file)
@@ -845,6 +845,8 @@ _inc_dec_button_pressed_cb(void *data, const Efl_Event *event)
    sd->longpress_timer = ecore_timer_add
                            (_elm_config->longpress_timeout,
                             _val_inc_dec_start, data);
+
+   if (sd->entry_visible) _entry_value_apply(data);
 }
 
 static void