elm_spinner: Entry hide when inc/dec button pressed.

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
This commit is contained in:
Woochan Lee 2017-07-03 16:57:06 +09:00 committed by Jean-Philippe Andre
parent b0caec04fb
commit b7e51c7dc4
1 changed files with 2 additions and 0 deletions

View 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