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:
ChunEon Park 2014-04-17 15:51:37 +09:00
parent e88c793425
commit 58ea3efa5d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}