From 95b961304eec1207a73bd66a1a90ffde13e541d3 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sun, 22 Feb 2015 23:24:11 -0500 Subject: [PATCH] disallow pip manage action if no pips exist --- src/pip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pip.c b/src/pip.c index 456a052..0a47919 100644 --- a/src/pip.c +++ b/src/pip.c @@ -387,6 +387,7 @@ _pip_hook(void *d EINA_UNUSED, E_Client *ec) static void _pip_action_cb(E_Object *obj EINA_UNUSED, const char *params EINA_UNUSED) { + if (!eina_hash_population(pips)) return; if (editing) pips_noedit(); else