forked from enlightenment/efl
ctxpopup: dimiss ctxpopup if escape key is pressed.
rahter than just hide of the ctxpopup, dimiss will be much better for usability. because press "Escape" is closed to "Cancel" meaning conceptually.
This commit is contained in:
parent
e88c793425
commit
58ea3efa5d
|
@ -131,7 +131,7 @@ _key_action_move(Evas_Object *obj, const char *params)
|
|||
static Eina_Bool
|
||||
_key_action_escape(Evas_Object *obj, const char *params EINA_UNUSED)
|
||||
{
|
||||
evas_object_hide(obj);
|
||||
elm_ctxpopup_dismiss(obj);
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue