'everything' module: fix segv on tab with no candidate

SVN revision: 41140
This commit is contained in:
Hannes Janetzek 2009-06-21 15:20:15 +00:00
parent d7f27c99ca
commit f146c0677e
1 changed files with 4 additions and 1 deletions

View File

@ -430,7 +430,10 @@ _evry_cb_key_down(void *data, int type, void *event)
else if (!strcmp(ev->key, "Return"))
_evry_action(1);
else if (!strcmp(ev->key, "Tab"))
{
if (s->sel_item)
_evry_push_state();
}
else if (!strcmp(ev->key, "u") &&
(ev->modifiers & ECORE_EVENT_MODIFIER_CTRL))
_evry_clear();