diff --git a/src/modules/everything/evry_plug_apps.c b/src/modules/everything/evry_plug_apps.c index b37241ed9..4f3a6eb43 100644 --- a/src/modules/everything/evry_plug_apps.c +++ b/src/modules/everything/evry_plug_apps.c @@ -811,8 +811,9 @@ _complete(Evry_Plugin *plugin __UNUSED__, const Evry_Item *it, char **input) GET_APP(app, it); char buf[128]; + if (it->subtype != EVRY_TYPE_APP) return 0; - if (app->desktop) + if ((app->desktop) && (app->desktop->exec)) { char *space = strchr(app->desktop->exec, ' ');